|
@@ -72,6 +72,9 @@ Navigation.startTabBasedApp({
|
72
|
72
|
leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
|
73
|
73
|
rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
|
74
|
74
|
},
|
|
75
|
+ type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
|
|
76
|
+ animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale'
|
|
77
|
+ // for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list'
|
75
|
78
|
disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
76
|
79
|
},
|
77
|
80
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
|
@@ -106,6 +109,9 @@ Navigation.startSingleScreenApp({
|
106
|
109
|
leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
|
107
|
110
|
rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
|
108
|
111
|
},
|
|
112
|
+ type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
|
|
113
|
+ animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale'
|
|
114
|
+ // for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list'
|
109
|
115
|
disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
110
|
116
|
},
|
111
|
117
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|