react-native-vector-icons-helper
v0.0.2
Published
A helper function to import vector icons from react-native-vector-icons.
Maintainers
Readme
react-native-vector-icons-helper
A helper function to import vector icons from react-native-vector-icons...
Installation
First, install react-native-vector-icons
Using npm:
npm install --save react-native-vector-icons-helper
# or
yarn add react-native-vector-icons-helperUsage
import Icon from 'react-native-vector-icons-helper';
<Icon bundle='Ionicons' name='md-home' size={18} color='white' style={{}} />Bundle List
- AntDesign
- Entypo
- EvilIcons
- Ionicons
- Feather
- FontAwesome
- FontAwesome5
- Fontisto
- Foundation
- MaterialIcons
- MaterialCommunityIcons
- Octicons
- Zocial
- SimpleLineIcons
You'll find icon name on this directory!
Properties
| Name | Type | Default | |---------------|---------|--------------| | bundle | String | 'Ionicons' | | name | String | 'md-home' | | size | Int | 18 | | color | String | 'white' | | style | Object | {} |
