Answers for "how to remove the top bar in react navigation"

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
3

remove header from certain pages react navigation

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

get rid of header bar react native

navigationOptions: { headerShown: false }
Posted by: Guest on September-07-2020

Code answers related to "how to remove the top bar in react navigation"

Code answers related to "Javascript"

Browse Popular Code Answers by Language