Skip to content

document resetOnBlur option for Bottom Tab Navigator #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/bottom-tab-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The route configs object is a mapping from route name to a route config, which t
## BottomTabNavigatorConfig

* `initialRouteName` - The routeName for the initial tab route when first loading.
* `resetOnBlur` - Reset the state of any nested navigators when switching away from a screen. Defaults to `false`.
* `order` - Array of routeNames which defines the order of the tabs.
* `paths` - Provide a mapping of routeName to path config, which overrides the paths set in the routeConfigs.
* `backBehavior` - Should the back button cause a tab switch to the initial tab? If yes, set to `initialRoute`, otherwise `none`. Defaults to `initialRoute` behavior.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-3.x/bottom-tab-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The route configs object is a mapping from route name to a route config, which t
## BottomTabNavigatorConfig

* `initialRouteName` - The routeName for the initial tab route when first loading.
* `resetOnBlur` - Reset the state of any nested navigators when switching away from a screen. Defaults to `false`.
* `order` - Array of routeNames which defines the order of the tabs.
* `paths` - Provide a mapping of routeName to path config, which overrides the paths set in the routeConfigs.
* `backBehavior` - Should the back button cause a tab switch to the initial tab? If yes, set to `initialRoute`, otherwise `none`. Defaults to `initialRoute` behavior.
Expand Down