Skip to content

Commit 2b94471

Browse files
committed
Remove redundant text
1 parent 5a293eb commit 2b94471

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

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

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,6 @@ createBottomTabNavigator({
136136
</TabItem>
137137
</Tabs>
138138

139-
When using native tabs, some options behave differently:
140-
141-
- `tabBarShowLabel` is replaced with `tabBarLabelVisibilityMode` which accepts:
142-
- `"auto"` (default)
143-
- `"selected"`
144-
- `"labeled"` - same as `tabBarShowLabel: true`
145-
- `"unlabeled"` - same as `tabBarShowLabel: false`
146-
- `tabBarLabel` only accepts a `string`
147-
- `tabBarIcon` accepts a function that returns an icon object
148-
149139
#### `backBehavior`
150140

151141
This controls what happens when `goBack` is called in the navigator. This includes pressing the device's back button or back gesture on Android.
@@ -334,7 +324,7 @@ Uses iOS built-in tab bar items with standard iOS styling and localized titles.
334324
- `search`
335325
- `topRated`
336326

337-
Only supported with `native` implementation on iOS.
327+
Only supported on iOS with `native` implementation.
338328

339329
The [`tabBarIcon`](#tabbaricon) and [`tabBarLabel`](#tabbarlabel) options will override the icon and label from the system item. If you want to keep the system behavior on iOS, but need to provide icon and label for other platforms, use `Platform.OS` or `Platform.select` to conditionally set `undefined` for `tabBarIcon` and `tabBarLabel` on iOS.
340330

@@ -520,11 +510,11 @@ Style object for the tab label. Supported properties:
520510
Example:
521511

522512
```js
523-
tabBarLabelStyle: {
524-
fontSize: 16,
525-
fontFamily: 'Georgia',
526-
fontWeight: 300,
527-
},
513+
tabBarLabelStyle: {
514+
fontSize: 16,
515+
fontFamily: 'Georgia',
516+
fontWeight: 300,
517+
},
528518
```
529519

530520
#### `tabBarIcon`
@@ -648,10 +638,10 @@ Supported on all platforms with `custom` implementation. Only supported with `na
648638
Example:
649639

650640
```js
651-
tabBarBadgeStyle: {
652-
color: 'black',
653-
backgroundColor: 'yellow',
654-
},
641+
tabBarBadgeStyle: {
642+
color: 'black',
643+
backgroundColor: 'yellow',
644+
},
655645
```
656646

657647
#### `tabBarAccessibilityLabel`

0 commit comments

Comments
 (0)