Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react navigation hide header

// hide header in multiple screens
<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #navigation #hide #header
ADD COMMENT
Topic
Name
7+6 =