Skip to content

Commit 7ea60a2

Browse files
committed
Update docs for tabBarBadgeStyle
1 parent 09bd82d commit 7ea60a2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

versioned_docs/version-7.x/native-bottom-tab-navigator.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ Style for the badge on the tab icon. Supported properties:
266266
- `backgroundColor`
267267
- `color`
268268

269+
With `native` implementation, limited customization is supported:
270+
271+
- on iOS, you can only set the background color.
272+
- on Android, you can set both background and text colors.
273+
269274
Example:
270275

271276
```js
@@ -275,8 +280,6 @@ tabBarBadgeStyle: {
275280
},
276281
```
277282

278-
Only supported on Android.
279-
280283
#### `tabBarActiveTintColor`
281284

282285
Color for the icon and label in the active tab.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,10 @@ Style for the badge on the tab icon. Supported properties:
657657
- `backgroundColor`
658658
- `color`
659659

660-
Supported on all platforms with `custom` implementation. Only supported with `native` implementation on Android.
660+
With `native` implementation, limited customization is supported:
661+
662+
- on iOS, you can only set the background color.
663+
- on Android, you can set both background and text colors.
661664

662665
<img src="/assets/7.x/bottom-tabs/tabBarBadgeStyle.png" width="500" alt="Tab bar badge style" />
663666

0 commit comments

Comments
 (0)