mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-04-28 20:35:04 +08:00
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user