|
|
|
|
172
|
},
|
172
|
},
|
173
|
right: { // optional, define if you want a drawer from the right
|
173
|
right: { // optional, define if you want a drawer from the right
|
174
|
screen: 'example.SecondSideMenu' // unique ID registered with Navigation.registerScreen
|
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
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
178
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
178
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|
179
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|
|
|
|
|
197
|
},
|
198
|
},
|
198
|
right: { // optional, define if you want a drawer from the right
|
199
|
right: { // optional, define if you want a drawer from the right
|
199
|
screen: 'example.SecondSideMenu' // unique ID registered with Navigation.registerScreen
|
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
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
204
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
203
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|
205
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|