Update README.md

This commit is contained in:
Krzysztof Magiera
2018-09-11 11:38:43 +02:00
committed by GitHub
parent feef55ed42
commit 4e017e4fa4

View File

@@ -21,7 +21,7 @@ react-native link react-native-screens
> If you are not familiar with the concept of linking libraries [read on here](https://facebook.github.io/react-native/docs/linking-libraries-ios).
3. Enable screens support before any of your navigation screen renders. Add the following code to your main application file (e.g. App.js):
```
```js
import { useScreens } from 'react-native-screens';
useScreens();