react-native-vector-icons-helper

0.0.2 • Public • Published

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 {}

Package Sidebar

Install

npm i react-native-vector-icons-helper

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

5.99 kB

Total Files

6

Last publish

Collaborators

  • khalid32