使用阿里矢量图

2019-10-21  本文已影响0人  南京确善能
   版本信息
    "@types/react": "^16.9.9",
    "@types/react-native": "^0.60.21",
    "@types/react-native-vector-icons": "^6.4.4",
    "@types/react-test-renderer": "^16.9.1",
    "react": "16.9.0",
    "react-native": "0.61.2",
    "react-native-appearance": "^0.1.0",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-paper": "^2.16.0",
    "react-native-reanimated": "^1.3.0",
    "react-native-screens": "^2.0.0-alpha.4",
    "react-native-vector-icons": "^6.6.0",
    "react-navigation": "^4.0.10",
    "react-navigation-material-bottom-tabs": "^2.1.1",
    "react-navigation-stack": "^1.9.4",
    "react-navigation-tabs": "^2.5.6",
    "typescript": "^3.6.4"
1.从下载文件
2.放入src/assets/fonts 中
3.react-native link
4.<Text style={{fontFamily: "iconfont", color: "#f1173f"}}>{"\ue7e0"}</Text> 
  或者
<Text style={{fontFamily: "iconfont", color: "#f1173f"}}>&#xe7e0;</Text>
上一篇 下一篇

猜你喜欢

热点阅读