Skip to content

Commit

Permalink
docs: Replace useScreens with enableScreens for expo docs (#348)
Browse files Browse the repository at this point in the history
fixes #346
  • Loading branch information
radko93 committed Feb 19, 2020
1 parent 953b3b3 commit 8952e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ yarn add react-native-screens
2. Open your App.js file and add the following snippet somewhere near the top of the file (e.g. right after import statements):

```js
import { useScreens } from 'react-native-screens';
import { enableScreens } from 'react-native-screens';

useScreens();
enableScreens();
```

3. That's all 🎉 – enjoy faster navigation in your Expo app. Keep in mind screens are in pretty early phase so please report if you discover some issues.
Expand Down

0 comments on commit 8952e69

Please sign in to comment.