|
@@ -104,10 +104,12 @@ Navigation.startSingleScreenApp({
|
104
|
104
|
left: { // optional, define if you want a drawer from the left
|
105
|
105
|
screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
|
106
|
106
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
|
107
|
+ disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
107
|
108
|
},
|
108
|
109
|
right: { // optional, define if you want a drawer from the right
|
109
|
110
|
screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
|
110
|
111
|
passProps: {} // simple serializable object that will pass as props to all top screens (optional)
|
|
112
|
+ disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
111
|
113
|
},
|
112
|
114
|
style: { // ( iOS only )
|
113
|
115
|
drawerShadow: true, // optional, add this if you want a side menu drawer shadow
|
|
@@ -118,7 +120,7 @@ Navigation.startSingleScreenApp({
|
118
|
120
|
type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
|
119
|
121
|
animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale'
|
120
|
122
|
// for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list'
|
121
|
|
- disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
|
123
|
+ disableOpenGesture: false // optional, can the drawer, both right and left, be opened with a swipe instead of button
|
122
|
124
|
},
|
123
|
125
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
124
|
126
|
animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
|