remove header in native Stacknavigator code example
Example: remove header from certain pages react navigation
<Stack.Screen
name="Home"
component={Home}
options={{header: () => null}}
/>
<Stack.Screen
name="Home"
component={Home}
options={{header: () => null}}
/>