Skip to content

Commit ae77a22

Browse files
authored
Update version 8 as well
1 parent e7fd580 commit ae77a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versioned_docs/version-8.x/bottom-tab-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ const Tabs = createBottomTabNavigator({
848848
```js
849849
<Tab.Navigator
850850
screenOptions={{
851-
tabBarPosition: isLargeScreen ? 'left' ? 'bottom',
851+
tabBarPosition: isLargeScreen ? 'left' : 'bottom',
852852
}}
853853
>
854854
```
@@ -866,7 +866,7 @@ You can also render a compact sidebar by placing the label below the icon. This
866866
```js
867867
const Tabs = createBottomTabNavigator({
868868
screenOptions: {
869-
tabBarPosition: isLargeScreen ? 'left' ? 'bottom',
869+
tabBarPosition: isLargeScreen ? 'left' : 'bottom',
870870
tabBarVariant: isLargeScreen ? 'material' : 'uikit',
871871
tabBarLabelPosition: 'below-icon',
872872
},

0 commit comments

Comments
 (0)