react native hide header on screen code example
Example: hiding header in a specific screen in react native
<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />
<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />