docs: update fonts link (#1239)

File extension from `.js` to `.tsx`
This commit is contained in:
Denis
2019-07-23 15:50:52 +08:00
committed by Ferran Negre
parent 15951f7b38
commit de94b142c2

View File

@@ -31,7 +31,7 @@ The easiest way to install custom fonts to your RN project is do as follow:
## Configuring fonts in ThemeProvider
After you configure the fonts you need to pass them as font object in a custom theme with the `Provider` component. Check the [default theme](https://github.com/callstack/react-native-paper/blob/master/src/styles/DefaultTheme.js) to see what customization options are supported.
After you configure the fonts you need to pass them as font object in a custom theme with the `Provider` component. Check the [default theme](https://github.com/callstack/react-native-paper/blob/master/src/styles/DefaultTheme.tsx) to see what customization options are supported.
Example: