- Notifications
You must be signed in to change notification settings - Fork1
React Native Custom Fonts 📚
License
NotificationsYou must be signed in to change notification settings
atoami/react-native-custom-fonts
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- HelveticaNeue-Bold
- HelveticaNeue-Medium
- Lato-Black
- Roboto-Bold
- Roboto-Light
- Roboto-Medium
- Roboto-Regular
- SFProDisplay-Black
- SFProDisplay-Bold
- SFProDisplay-Heavy
- SFProDisplay-Light
- SFProDisplay-Medium
- SFProDisplay-Regular
- SFProDisplay-Semibold
- SFProDisplay-Thin
- SFProDisplay-Ultralight
- SFProText-Bold
- SFProText-Regular
- SFProText-Semibold
"rnpm":{"assets":["app/fonts"// Folder including all font files(otf, ttf, ...)]}
Add font files(otf, ttf, ...) in font assets folder.
react-native link
This links all fonts(app/fonts in example) to iOS & Android projects.
Add font components(SFProDisplayMedium.js, ...) in your project.
You must rebuild the project after add font files.
import{SFProDisplayMedium}from'../SFProDisplayMedium.js';...<SFProDisplayMediumstyle={styles.fontStyle}>TextHere</SFProDisplayMedium>
You can find demohere.
Welcome to Pull Request!
About
React Native Custom Fonts 📚
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published