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:
scottmas
2019-02-25 08:41:22 -07:00
committed by GitHub
parent f28f889f98
commit e96f4954db

View File

@@ -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: