/** * Learn more about createBottomTabNavigator: * https://reactnavigation.org/docs/bottom-tab-navigator */ import { Ionicons } from '@expo/vector-icons'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { createStackNavigator } from '@react-navigation/stack'; import * as React from 'react'; import Colors from '../constants/Colors'; import useColorScheme from '../hooks/useColorScheme'; import TabOneScreen from '../screens/TabOneScreen'; import TabTwoScreen from '../screens/TabTwoScreen'; import { BottomTabParamList, TabOneParamList, TabTwoParamList } from '../types'; const BottomTab = createBottomTabNavigator(); export default function BottomTabNavigator() { const colorScheme = useColorScheme(); return ( , }} /> , }} /> ); } // You can explore the built-in icon families and icons on the web at: // https://icons.expo.fyi/ function TabBarIcon(props: { name: React.ComponentProps['name']; color: string }) { return ; } // Each tab has its own navigation stack, you can read more about this pattern here: // https://reactnavigation.org/docs/tab-based-navigation#a-stack-navigator-for-each-tab const TabOneStack = createStackNavigator(); function TabOneNavigator() { return ( ); } const TabTwoStack = createStackNavigator(); function TabTwoNavigator() { return ( ); }