0.0.2 • Published 4 years ago

react-native-vector-icons-helper v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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

NameTypeDefault
bundleString'Ionicons'
nameString'md-home'
sizeInt18
colorString'white'
styleObject{}