Icon
https://github.com/oblador/react-native-vector-icons
在此搜尋圖案:https://oblador.github.io/react-native-vector-icons/
Native base icon 要搜尋 Ionicons
iOS 安裝
記得要 manual 設定,有時 auto linking 會失效
https://github.com/oblador/react-native-vector-icons/blob/master/README.md#ios
使用:
import Icon from 'react-native-vector-icons/FontAwesome';
<Icon name="rocket" size={30} color="#900" />
Last updated
Was this helpful?