Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create bottom navigation bar react native

Copyimport { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
const Tab = createBottomTabNavigator();
function MyTabs() {  return (    <Tab.Navigator>      <Tab.Screen name="Home" component={HomeScreen} />      <Tab.Screen name="Settings" component={SettingsScreen} />    </Tab.Navigator>  );}
Source by reactnavigation.org #
 
PREVIOUS NEXT
Tagged: #create #bottom #navigation #bar #react #native
ADD COMMENT
Topic
Name
9+1 =