import { Tabs } from 'expo-router'; import { Icon } from '../../components/Icon'; export default function AppLayout() { return ( }} /> }} listeners={({ navigation }: any) => ({ tabPress: () => { navigation.navigate('clients', { screen: 'index' }); }, })} /> }} /> }} listeners={({ navigation }: any) => ({ tabPress: () => { navigation.navigate('tasks', { screen: 'index' }); }, })} /> }} /> {/* Hidden — accessed programmatically */} ); }