how to hide header in react navigation
snippet in javascript

how to hide header in react navigation

user8885

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>