浏览代码

Update top-level-api.md

Guy Carmeli 7 年前
父节点
当前提交
0ed20a79c0
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      docs/top-level-api.md

+ 2
- 2
docs/top-level-api.md 查看文件

@@ -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