import { Tabs } from 'expo-router'; import React from 'react'; import { Platform, useColorScheme, View } from 'react-native'; import { HapticTab } from '@/components/HapticTab'; import { IconSymbol } from '@/components/ui/IconSymbol'; import TabBarBackground from '@/components/ui/TabBarBackground'; import { lightTheme, darkTheme } from '@/constants/Colors'; import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'; import { ThemedView } from '@/components/ThemedView'; import { IconButton } from 'react-native-paper'; import { useNavigation } from '@react-navigation/native'; import { ThemedText } from '@/components/ThemedText'; export default function TabLayout() { const colorScheme = useColorScheme(); const theme = colorScheme === 'dark' ? darkTheme : lightTheme; const insets = useSafeAreaInsets(); const navigation = useNavigation(); return ( { navigation.dispatch({ type: 'OPEN_DRAWER' }); }} /> JOURNEY { console.log('Search pressed'); }} /> , }} /> , }} /> , }} /> , }} /> , }} /> ); }