Answers for "react navigation remove title"

2

how to remove name in react navigation header

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>
Posted by: Guest on March-17-2020
0

hide header title in react navigation Drawer navigation

Inside the <Drawer.Screen that you want to hide the header title, make the headerTitle inside options to have the value of an empty string:

<Drawer.Screen name ="MyBottomTabs" component ={MyTabs}  options={{ headerTitle:'' }} />
Posted by: Guest on January-11-2022

Code answers related to "react navigation remove title"

Code answers related to "Javascript"

Browse Popular Code Answers by Language