1Hide header in a single screen
2<Stack.Screen name='Home' component={HomeScreen} options={{headerShown: false}}/>
1<Stack.Navigator
2 screenOptions={{
3 headerShown: false
4 }}
5>
6 <Stack.Screen name="route-name" component={ScreenComponent} />
7</Stack.Navigator>
8
1<Stack.Navigator
2 screenOptions={{
3 headerShown: false
4 }}
5>
6 <Stack.Screen name="route-name" component={ScreenComponent} />
7</Stack.Navigator>