Skip to content

Commit 2a002a7

Browse files
author
Brad Bumbalough
committed
Documents the safeAreaInset prop for <TabBarBottom>
- Closes react-navigation#197
1 parent d5dc3c5 commit 2a002a7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/bottom-tab-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ The route configs object is a mapping from route name to a route config, which t
3333
* `labelStyle` - Style object for the tab label.
3434
* `tabStyle` - Style object for the tab.
3535
* `allowFontScaling` - Whether label font should scale to respect Text Size accessibility settings, default is true.
36+
* `safeAreaInset` - Override the `forceInset` prop for `<SafeAreaView>`. Defaults to `{ bottom: 'always', top: 'never' }`. Available keys are `top | bottom | left | right` provided with the values `'always' | 'never'`.
3637

3738
Example:
3839

docs/tab-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Several options get passed to the underlying router to modify navigation logic:
4343
* `labelStyle` - Style object for the tab label.
4444
* `tabStyle` - Style object for the tab.
4545
* `allowFontScaling` - Whether label font should scale to respect Text Size accessibility settings, default is true.
46+
* `safeAreaInset` - Override the `forceInset` prop for `<SafeAreaView>`. Defaults to `{ bottom: 'always', top: 'never' }`. Available keys are `top | bottom | left | right` provided with the values `'always' | 'never'`.
4647

4748
Example:
4849

0 commit comments

Comments
 (0)