소스 검색

Update top-level-api.md

Guy Carmeli 7 년 전
부모
커밋
0ed20a79c0
No account linked to committer's email address
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