Answers for "react natigation 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

Code answers related to "react natigation remove header"

Code answers related to "Javascript"

Browse Popular Code Answers by Language