mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 17:23:42 +08:00
Update docs
The docs do not state that react-native-screens is also used by default for the tab and drawer navigators. I updated the docs to include that. I didn't see support in any of the other navigators that I looked at, but if there are any others, we should update the documentation for them as well.
This commit is contained in:
@@ -9,7 +9,7 @@ Read usage guide depending on if you are [using Expo](#usage-in-expo-with-react-
|
||||
|
||||
## Usage with [react-navigation](https://github.com/react-navigation/react-navigation) (without Expo)
|
||||
|
||||
Screens support is built into [stack navigator](https://reactnavigation.org/docs/en/stack-navigator.html) starting from version [2.14.0](https://github.com/react-navigation/react-navigation/releases/tag/2.14.0) of [react-navigation](https://github.com/react-navigation/react-navigation). We plan on adding it to other navigators in near future.
|
||||
Screens support is built into [stack navigator](https://reactnavigation.org/docs/en/stack-navigator.html), [tab navigator](https://reactnavigation.org/docs/en/tab-navigator.html), and [drawer navigator](https://reactnavigation.org/docs/en/drawer-navigator.html) starting from version [2.14.0](https://github.com/react-navigation/react-navigation/releases/tag/2.14.0) of [react-navigation](https://github.com/react-navigation/react-navigation). We plan on adding it to other navigators in near future.
|
||||
|
||||
To enable stack navigator to use screens instead of plain RN Views for rendering stack cards follow the steps below:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user