Answers for "hide header in specific screen react navigation 4"

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 "hide header in specific screen react navigation 4"

Code answers related to "Javascript"

Browse Popular Code Answers by Language