Browse Source

Fix syntax error in layout dosc (#4451)

Adam Pietrasiak 5 years ago
parent
commit
231e912623
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      docs/docs/layout-types.md

+ 4
- 2
docs/docs/layout-types.md View File

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