docs: update README to mention reanimated and gesture-handler

This commit is contained in:
satyajit.happy
2019-05-15 11:40:20 +02:00
parent 65d83bb2db
commit e9ab64df01

View File

@@ -6,12 +6,24 @@ Drawer navigator for use on iOS and Android.
## Installation
Open a Terminal in your project's folder and run,
Open a Terminal in the project root and run:
```sh
yarn add react-navigation-drawer@alpha
```
If you are using Expo, you are done. Otherwise, continue to the next step.
Install and link [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated). To install and link them, run:
```sh
yarn add react-native-reanimated react-native-gesture-handler
react-native link react-native-reanimated
react-native link react-native-gesture-handler
```
**IMPORTANT:** There are additional steps required for `react-native-gesture-handler` on Android after running `react-native link react-native-gesture-handler`. Check the [this guide](https://kmagiera.github.io/react-native-gesture-handler/docs/getting-started.html) to complete the installation.
## Usage
```js