You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`onTransitionEnd` - Function to be invoked once the card transition animation completes.
79
79
*`transparentCard` - *Experimental* - Prop to keep all cards in the stack visible and add a transparent background instead of a white one. This is useful to implement things like modal dialogs where the previous scene should still be visible underneath the current one.
80
80
81
-
### `navigationOptions` for screens inside of the navigator
81
+
### `defaultNavigationOptions` for screens inside of the navigator
82
82
83
83
#### `title`
84
84
@@ -108,14 +108,14 @@ Title string used by the back button on iOS, or `null` to disable label. Default
108
108
StackNavigator({
109
109
A: {
110
110
screen: AScreen,
111
-
navigationOptions: () => ({
111
+
defaultNavigationOptions: () => ({
112
112
title:`A`,
113
113
headerBackTitle:null
114
114
}),
115
115
},
116
116
B: {
117
117
screen: BScreen,
118
-
navigationOptions: () => ({
118
+
defaultNavigationOptions: () => ({
119
119
title:`B`,
120
120
}),
121
121
}
@@ -130,15 +130,15 @@ Title string used by the back button when `headerBackTitle` doesn't fit on the s
130
130
StackNavigator({
131
131
A: {
132
132
screen: AScreen,
133
-
navigationOptions: () => ({
133
+
defaultNavigationOptions: () => ({
134
134
title:`A`,
135
135
headerBackTitle:'A much too long text for back button from B to A',
0 commit comments