|
@@ -66,6 +66,12 @@ Navigation.startTabBasedApp({
|
66
|
66
|
screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
|
67
|
67
|
passProps: {} // simple serializable object that will pass as props to all top screens (optional)
|
68
|
68
|
},
|
|
69
|
+ style: { // ( iOS only )
|
|
70
|
+ drawerShadow: true, // optional, add this if you want a side menu drawer shadow
|
|
71
|
+ contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
|
|
72
|
+ leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
|
|
73
|
+ rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
|
|
74
|
+ },
|
69
|
75
|
disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
70
|
76
|
},
|
71
|
77
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|
|
@@ -94,6 +100,12 @@ Navigation.startSingleScreenApp({
|
94
|
100
|
screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
|
95
|
101
|
passProps: {} // simple serializable object that will pass as props to all top screens (optional)
|
96
|
102
|
},
|
|
103
|
+ style: { // ( iOS only )
|
|
104
|
+ drawerShadow: true, // optional, add this if you want a side menu drawer shadow
|
|
105
|
+ contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
|
|
106
|
+ leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
|
|
107
|
+ rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
|
|
108
|
+ },
|
97
|
109
|
disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button
|
98
|
110
|
},
|
99
|
111
|
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
|