We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51f612 commit 17930d9Copy full SHA for 17930d9
docs/Navigation.md
@@ -46,13 +46,10 @@ class MyHomeScreen extends NavigationScreenComponentNoPS {
46
}
47
48
object MyHomeScreen {
49
- @JSExportStatic
50
- val navigationOptions = NavigationScreenOptions[MyHomeScreen](
51
- title = "Home"
52
- )
+
53
54
55
-val ModalStack = StackNavigator(registerScreen[MyHomeScreen])
+val ModalStack = StackNavigator(registerStackScreen[MyHomeScreen](navigationOptions = NavigationStackScreenOptions(title = "Home")))
56
57
```
58
@@ -114,3 +111,6 @@ object MyDeepChildComp {
114
111
115
112
116
113
0 commit comments