Package Exports
- react-native-vector-icons-helper
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-vector-icons-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-helper
Usage
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 | {} |