From fd6cb4951eb5b178800b8b4ba12f1e3605e2afb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 28 May 2019 22:52:40 +0200 Subject: [PATCH] docs: install react-test-renderer typings (#181) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c3c9dea6..83c622e0 100644 --- a/README.md +++ b/README.md @@ -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