Closed gaishimo closed 1 year ago
yarn
In v2 web, the title value in options of Navigator.Screen does not change the actual title.
title
options
Navigator.Screen
<Navigator> <Navigator.Screen name="index" options={{ title: "Title" }} /> <Navigator.Slot /> </Navigator>
It worked on expo-router v1.
https://github.com/gaishimo/expo-router-example
See this discussion: https://github.com/expo/router/discussions/770
Closing in favor of https://github.com/expo/router/discussions/770
Which package manager are you using? (Yarn is recommended)
yarn
Summary
In v2 web, the
title
value inoptions
ofNavigator.Screen
does not change the actual title.It worked on expo-router v1.
Minimal reproducible example
https://github.com/gaishimo/expo-router-example