/** * BUS-Tickets - Tab Navigation Layout * Copyright (c) 2024-2026 IT Enterprise */ import { Tabs } from 'expo-router'; import { Ionicons } from '@expo/vector-icons'; import { useTheme } from '@/contexts/ThemeContext'; import { useLocale } from '@/contexts/LocaleContext'; type IconName = React.ComponentProps['name']; export default function TabLayout() { const { colors, isDark } = useTheme(); const { t } = useLocale(); const getTabBarIcon = (name: IconName, focused: boolean) => ({ tabBarIcon: ({ color, size }: { color: string; size: number }) => ( ), }); return ( ); }