Answers for "how to get rid of default header in react native"

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

hiding header in a specific screen in react native

<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />
Posted by: Guest on October-28-2020

Code answers related to "how to get rid of default header in react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language