Answers for "how to hide header in stacknavigator"

5

hide header react navigation

Hide header in a single screen 
<Stack.Screen name='Home' component={HomeScreen} options={{headerShown: false}}/>
Posted by: Guest on June-18-2021
6

how to hide header in react navigation

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>
Posted by: Guest on October-04-2020
0

hiding header in a specific screen in react native

<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />
Posted by: Guest on October-28-2020

Code answers related to "how to hide header in stacknavigator"

Code answers related to "Javascript"

Browse Popular Code Answers by Language