Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set navigation drawer to open by default react native

 <Drawer.Navigator
      initialRouteName="Home"
      openByDefault>
      <Drawer.Screen name="Home" component={HomeScreen} />
      <Drawer.Screen name="Notifications" component={NotificationsScreen} />
 </Drawer.Navigator>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #navigation #drawer #open #default #react #native
ADD COMMENT
Topic
Name
8+8 =