소스 검색

Fix syntax error in layout dosc (#4451)

Adam Pietrasiak 5 년 전
부모
커밋
231e912623
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4
    2
      docs/docs/layout-types.md

+ 4
- 2
docs/docs/layout-types.md 파일 보기

@@ -130,8 +130,10 @@ On **Android**, Visibility can be toggled dynamically using the `mergeOptions` c
130 130
 
131 131
 ```js
132 132
 Navigation.mergeOptions(componentId, {
133
-  bottomTabs: visible: false,
134
-  ...Platform.select({ android: { drawBehind: true } })
133
+  bottomTabs: {
134
+    visible: false,
135
+    ...Platform.select({ android: { drawBehind: true } })
136
+  },
135 137
 });
136 138
 ```
137 139