KO
|
EN
gitlite — search
Search
#react
#golang
#android
#deep-learning
#machine-learning
#python
#web
#javascript
#php-library
#php7
#testing
#php
react-native-global-font
★ 45
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
FFmpegGUI
:
Free video filter graph editor
sentinelhub-qgis-plugin
:
QGIS Plugin for Sentinel Hub
js-image-base64
:
JS前端上传图片、压缩、并且处理旋转问题,生成base64数据
bitfinex_algo
:
Orderbook based trading algorithm for Bitfinex, based on open source from jndok and dawsbot
AutoGridView
:
:traffic_light:AutoGridView可以更轻松实现QQ空间和微信朋友圈的九宫格、点击展开、点击加号添加照片等功能,而且采用Adapter方式,可以自定义item,更加灵活,使用起来就像ListView和BaseAdapter搭配一样简单...
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
react-native-global-font
?
Download (.md)
# react-native-global-font [](https://badge.fury.io/js/react-native-global-font)   React Native apply custom font for iOS and Android # Installation * Add font file to your app **assets/fonts/** * Create `react-native.config.js` file in your react native project: ``` module.exports = { project: { ios: {}, android: {}, }, assets: ['./assets/fonts/'], }; ``` * Run: ``` npm install --save react-native-global-font npx react-native link ``` * **iOS:** add to **info.plist** : ``` <key>UIAppFonts</key> <array> <string>YourFontName.ttf</string> </array> ``` # Usage Go to your highest order component that contains your whole application. ``` import GlobalFont from 'react-native-global-font' componentDidMount() { let fontName = 'YourFontName' GlobalFont.applyGlobal(fontName) } ```