我从react-native-vector-icon
的套餐中挑选了一个图标.
以featherIcons
为例,我如何将stroke-width
属性添加到react-native-vector-icons.
import FeatherIcon from 'react-native-vector-icons/Feather';
<FeatherIcon
style={{strokeWidth: 1}} // stroke width does not exist here
name={'search'}
color={color}
size={22}
/>
我只是想把图标做得厚一点.