参考链接:http://www.mamicode.com/info-detail-2343986.html
安装:
1.npm install --save react-native-vector-icons # or yarn add react-native-vector-icons
2.react-native link react-native-vector-icons # or npm install -g rnpm && rnpm link react-native-vector-icons
3.
使用方法:
import IconMaterialIcons from 'react-native-vector-icons/MaterialIcons';
Android还需要配置:
把Fonts文件
iso需要拖入文件中 create group
然后看Fonts providered by application是否成功加入字体文件
参考文章:https://www.jianshu.com/p/d95bbcb3fbd0
如果没有自动增加可以打开info.plist文件增加
<key>UIAppFonts</key>
<array>
<string>A