1Copyimport { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
2const Tab = createBottomTabNavigator();
3function MyTabs() { return ( <Tab.Navigator> <Tab.Screen name="Home" component={HomeScreen} /> <Tab.Screen name="Settings" component={SettingsScreen} /> </Tab.Navigator> );}