Skip to content

Commit

Permalink
fix: fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyler Jensen committed Aug 21, 2020
1 parent ede1cfc commit 36fc854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This library aims to make life easier by allowing React Native developers to use
yarn add expo-font
```

2. Wrap your application's root component in a `<FontFacesProvider />`, provide a `FontLoader`, and import the desired font faces. Then just use the font family as you would normally expect:
2. Add a call to `enableFontFaces()` in your application's entry point, and import the desired font faces. Then just use the font family as you would normally expect:

```jsx
// App.tsx
Expand Down

0 comments on commit 36fc854

Please sign in to comment.