docs: install react-test-renderer typings (#181)

This commit is contained in:
Michał Pierzchała
2019-05-28 22:52:40 +02:00
committed by GitHub
parent f6f0a7091d
commit fd6cb4951e
+6
View File
@@ -69,6 +69,12 @@ yarn add --dev react-native-testing-library
This library has a peerDependencies listing for `react-test-renderer` and, of course, `react`. Make sure to install them too!
Note for [Flow](https://flow.org) users – you'll also need to install typings for `react-test-rednerer`:
```sh
flow-typed install react-test-renderer
```
As you may have noticed, it's not tied to React Native at all – you can safely use it in your React components if you feel like not interacting directly with DOM.
## API / Usage