import { Tabs } from 'expo-router'; import { Platform } from 'react-native'; import { useTheme } from '@/ThemeContext'; const isKaroo = Platform.OS === 'android' && (Platform.Version as number) < 29; export default function TabLayout() { const theme = useTheme(); return ( }} /> }} /> , href: isKaroo ? null : '/search', }} /> }} /> ); } function TabIcon({ label, color }: { label: string; color: string }) { const { Text } = require('react-native'); return {label}; }