to not show header title in stacknavigator 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} />