A wrapper component using react-native-vector-icons. Support Typescript.
yarn add react-native-easy-icon
OR
npm install --save react-native-easy-icon
If you don't have react-native-vector-icons Install react-native-vector-icons
If you created your project with expo, crna or trnc, react-native-vector-icons is installed by default
import Icon from 'react-native-easy-icon';
<Icon type="feather" name="award" color="coral" size={21}/>
- material
- material-community
- font-awesome
- font-awesome5
- font-awesome-brands
- octicon
- ionicon
- foundation
- evilicon
- simple-line-icon
- zocial
- entypo
- feather
- antdesign
- fontisto
Icon types list is extracted from react-native-elements