Procházet zdrojové kódy

Update top-level-api.md

Guy Carmeli před 7 roky
rodič
revize
0ed20a79c0
No account linked to committer's email address
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      docs/top-level-api.md

+ 2
- 2
docs/top-level-api.md Zobrazit soubor

@@ -104,12 +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
+      disableOpenGesture: false // can the drawer be opened with a swipe instead of button (optional, Android only)
108 108
     },
109 109
     right: { // optional, define if you want a drawer from the right
110 110
       screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
111 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 114
     style: { // ( iOS only )
115 115
       drawerShadow: true, // optional, add this if you want a side menu drawer shadow