Skip to content

Commit

Permalink
Fix syntax error in layout dosc (#4451)
Browse files Browse the repository at this point in the history
  • Loading branch information
pie6k authored and guyca committed Dec 16, 2018
1 parent d5893a5 commit 231e912
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/layout-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ On **Android**, Visibility can be toggled dynamically using the `mergeOptions` c

```js
Navigation.mergeOptions(componentId, {
bottomTabs: visible: false,
...Platform.select({ android: { drawBehind: true } })
bottomTabs: {
visible: false,
...Platform.select({ android: { drawBehind: true } })
},
});
```

Expand Down

0 comments on commit 231e912

Please sign in to comment.