Answers for "react navigation hide stack header"

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

Code answers related to "react navigation hide stack header"

Code answers related to "Javascript"

Browse Popular Code Answers by Language