Browse Source

Update top-level-api.md

Guy Carmeli 7 years ago
parent
commit
0ed20a79c0
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docs/top-level-api.md

+ 2
- 2
docs/top-level-api.md View File

104
     left: { // optional, define if you want a drawer from the left
104
     left: { // optional, define if you want a drawer from the left
105
       screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
105
       screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
106
       passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
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
+      disableOpenGesture: false // can the drawer be opened with a swipe instead of button (optional, Android only)
108
     },
108
     },
109
     right: { // optional, define if you want a drawer from the right
109
     right: { // optional, define if you want a drawer from the right
110
       screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
110
       screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
111
       passProps: {} // simple serializable object that will pass as props to all top screens (optional)
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
112
+      disableOpenGesture: false // can the drawer be opened with a swipe instead of button (optional, Android only)
113
     },
113
     },
114
     style: { // ( iOS only )
114
     style: { // ( iOS only )
115
       drawerShadow: true, // optional, add this if you want a side menu drawer shadow
115
       drawerShadow: true, // optional, add this if you want a side menu drawer shadow