Answers for "nest navigation react navigation"

0

nest navigation react navigation

navigation.navigate('Root', {
  screen: 'Settings',
  params: { user: 'jane' },
});
Posted by: Guest on August-01-2021
0

nested navigation react native

const Tab = createBottomTabNavigator();

function HomeTabs() {
  return (
    <Tab.Navigator>
      <Tab.Screen name="Feed" component={FeedScreen} />
      <Tab.Screen name="Profile" component={ProfileScreen} />
      <Tab.Screen name="Account" component={AccountScreen} />
    </Tab.Navigator>
  );
}

const Stack = createStackNavigator();

export default function App() {
  return (
    <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen name="Home" component={HomeTabs} />
        <Stack.Screen name="Settings" component={SettingsScreen} />
      </Stack.Navigator>
    </NavigationContainer>
  );
}
Posted by: Guest on February-21-2021

Code answers related to "nest navigation react navigation"

Code answers related to "Javascript"

Browse Popular Code Answers by Language