Answers for "react navigation remove header"

5

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
3

remove header from certain pages react navigation

<Stack.Screen
	name="Home"
	component={Home}
	options={{header: () => null}}
/>
Posted by: Guest on November-20-2020
1

how to remove name in react navigation header

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

Code answers related to "react navigation remove header"

Code answers related to "Javascript"

Browse Popular Code Answers by Language