react navigation stack screen header none 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}}
/>