Skip to content

Commit

Permalink
Update API.md: add upperCaseLabel in Tabs (aksonov#2925)
Browse files Browse the repository at this point in the history
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`)
  • Loading branch information
MaxInMoon authored and aksonov committed Jul 11, 2018
1 parent ed12ab7 commit 5895939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Can use all `props` listed above in `<Scene>` as `<Tabs>` is syntatic sugar for
| `animationEnabled`     | `boolean` | `true` | Enable or disable tab swipe animation. |
| `tabBarOnPress`     | `function` | | Custom tab bar icon press. |
| `backToInitial`     | `boolean` | `false` | Back to initial screen on focused tab if tab icon was tapped. |
| `upperCaseLabel`     | `boolean` | `true` | Whether to make label uppercase, default is true. |

## Stack (`<Stack>`)
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`.
Expand Down

0 comments on commit 5895939

Please sign in to comment.