Sfoglia il codice sorgente

add utils/vector_icon.js

wudebin 6 mesi fa
parent
commit
9449025eae
1 ha cambiato i file con 44 aggiunte e 0 eliminazioni
  1. 44 0
      Strides-SPAPP/app/utils/vector_icon.js

+ 44 - 0
Strides-SPAPP/app/utils/vector_icon.js

@@ -0,0 +1,44 @@
+
+/**
+ * 矢量图标库全局引用
+ * @邠心vbe on 2021/4/7
+ */
+import AntDesign from '@react-native-vector-icons/ant-design';
+import Entypo from '@react-native-vector-icons/entypo';
+import EvilIcons from '@react-native-vector-icons/evil-icons';
+import Feather from '@react-native-vector-icons/feather';
+import FontAwesome from '@react-native-vector-icons/fontawesome';
+import FontAwesome5 from '@react-native-vector-icons/fontawesome5';
+//import FontAwesome5Brands from '@react-native-vector-icons/FontAwesome5Pro';
+import FontAwesome6 from '@react-native-vector-icons/fontawesome6';
+import Fontisto from '@react-native-vector-icons/fontisto';
+import Ionicons from '@react-native-vector-icons/ionicons';
+import Lucide from '@react-native-vector-icons/lucide'
+import MaterialIcons from '@react-native-vector-icons/material-icons';
+import MaterialCommunityIcons from '@react-native-vector-icons/material-design-icons';
+import Octicons from '@react-native-vector-icons/octicons';
+import Zocial from '@react-native-vector-icons/zocial';
+
+global.AntDesign = AntDesign;
+global.Entypo = Entypo;
+
+global.EvilIcons = EvilIcons;
+global.Feather = Feather;
+global.FontAwesome = FontAwesome;
+
+global.FontAwesome5 = FontAwesome5;
+//global.FontAwesome5Brands = FontAwesome5Brands;
+global.FontAwesome6 = FontAwesome6;
+
+global.Fontisto = Fontisto;
+
+global.Lucide = Lucide;
+global.Ionicons = Ionicons;
+global.MaterialCommunityIcons = MaterialCommunityIcons;
+global.MaterialDesignIcons = MaterialCommunityIcons;
+global.MaterialIcons = MaterialIcons;
+
+global.Octicons = Octicons;
+//global.SimpleLineIcons = SimpleLineIcons;
+
+global.Zocial = Zocial;