// App.js
import BottomTabNavigator from './navigation/BottomTabNavigator';
import MaterialTopTabNavigator from './navigation/MaterialTopTabNavigator';
...
<NavigationContainer ref={containerRef} initialState={initialNavigationState}>
<Stack.Navigator headerMode="none">
<Stack.Screen name="Root" component={MaterialTopTabNavigator} />
</Stack.Navigator>
</NavigationContainer>
view raw App.js hosted with ❤ by GitHub