remove title from navigation bar react navigatipn code example
Example 1: how to hide header in react navigation
<Stack.Navigator
screenOptions={{
headerShown: false
}}
>
<Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>
Example 2: how to hide title bar react-navigation
<Root.Screen options={{headerShown: false}}/>