|
@@ -172,7 +172,8 @@ Navigation.startTabBasedApp({
|
172
|
172
|
},
|
173
|
173
|
right: { // optional, define if you want a drawer from the right
|
174
|
174
|
screen: 'example.SecondSideMenu' // unique ID registered with Navigation.registerScreen
|
175
|
|
- }
|
|
175
|
+ },
|
|
176
|
+ disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
176
|
177
|
},
|
177
|
178
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
178
|
179
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|
|
@@ -197,7 +198,8 @@ Navigation.startSingleScreenApp({
|
197
|
198
|
},
|
198
|
199
|
right: { // optional, define if you want a drawer from the right
|
199
|
200
|
screen: 'example.SecondSideMenu' // unique ID registered with Navigation.registerScreen
|
200
|
|
- }
|
|
201
|
+ },
|
|
202
|
+ disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
201
|
203
|
},
|
202
|
204
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
203
|
205
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|