我可以在同一屏幕上导入react-native-vector-icons/font- and和react-native-vector-icons/Ionicons吗?基本上我想在同一个屏幕上同时使用字体和离子图标来显示不同的图标?
Example-
import ActionButton from 'react-native-action-button';
import Icon from 'react-native-vector-icons/font-awesome';
import Icon from 'react-native-vector-ico
我正在使用这里的图标选择器:
我只想显示'fa‘图标,而不是'fab',’远‘,'fas’等等。
我已经试过了,但对我没用:
icons: [], // list of icon objects [{title:String, searchTerms:String}]. By default, all Font Awesome icons are included.
fullClassFormatter: function(val) {
return 'fa ' + val;
},