From 450cd762d611d2a30f9e06c64908a23e1943ceab Mon Sep 17 00:00:00 2001 From: Willem Kappers Date: Thu, 16 Jan 2025 09:51:28 -0500 Subject: [PATCH] Fixed ternary operator in documentation for bottom tab navigator --- versioned_docs/version-7.x/bottom-tab-navigator.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/versioned_docs/version-7.x/bottom-tab-navigator.md b/versioned_docs/version-7.x/bottom-tab-navigator.md index 93aacfd13d..6a5d9da7b5 100755 --- a/versioned_docs/version-7.x/bottom-tab-navigator.md +++ b/versioned_docs/version-7.x/bottom-tab-navigator.md @@ -495,7 +495,7 @@ When the tab bar is positioned on the `left` or `right`, it is styled as a sideb ```js const Tabs = createBottomTabNavigator({ screenOptions: { - tabBarPosition: isLargeScreen ? 'left' ? 'bottom', + tabBarPosition: isLargeScreen ? 'left' : 'bottom', }, // ... @@ -508,7 +508,7 @@ const Tabs = createBottomTabNavigator({ ```js ``` @@ -526,7 +526,7 @@ You can also render a compact sidebar by placing the label below the icon. This ```js const Tabs = createBottomTabNavigator({ screenOptions: { - tabBarPosition: isLargeScreen ? 'left' ? 'bottom', + tabBarPosition: isLargeScreen ? 'left' : 'bottom', tabBarVariant: isLargeScreen ? 'material' : 'uikit', tabBarLabelPosition: 'below-icon', },