Skip to content

Commit 5895939

Browse files
MaxInMoonaksonov
authored andcommitted
Update API.md: add upperCaseLabel in Tabs (#2925)
From [react-navigation doc](https://reactnavigation.org/docs/tab-navigator.html#tabbaroptions-for-tabbartop-default-tab-bar-on-android), `upperCaseLabel` allow us to disable the default uppercase for tab labels (Tested with `4.0.0-beta.28`)
1 parent ed12ab7 commit 5895939

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/API.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ Can use all `props` listed above in `<Scene>` as `<Tabs>` is syntatic sugar for
9999
| `animationEnabled`     | `boolean` | `true` | Enable or disable tab swipe animation. |
100100
| `tabBarOnPress`     | `function` | | Custom tab bar icon press. |
101101
| `backToInitial`     | `boolean` | `false` | Back to initial screen on focused tab if tab icon was tapped. |
102+
| `upperCaseLabel`     | `boolean` | `true` | Whether to make label uppercase, default is true. |
102103

103104
## Stack (`<Stack>`)
104105
A component to group Scenes together for its own stack based navigation. Using this will create a separate navigator for this stack, so expect two navbars to appear unless you add `hideNavBar`.

0 commit comments

Comments
 (0)