📌  相关文章
📜  反应原生矢量图标 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:51.848000             🧑  作者: Mango

代码示例6
# With yarn
yarn add react-native-vector-icons
# With npm : npm i react-native-vector-icons
# In android go to android/app/build.gradle file add following line 
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
# In ios install required pods
npx pod-install
# Import
import FontAwesome from 'react-native-vector-icons/FontAwesome';
# Use