Skip to content

tiaanduplessis/react-native-simple-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-simple-icons

package version package downloads standard-readme compliant package license make a pull request

Simple Icon component shamelessly taken from react-native-elements

Table of Contents

Install

This project uses node and npm. First install react-native-vector-icons

# yarn
yarn add react-native-vector-icons
# or with npm
npm i --save react-native-vector-icons

# link
react-native link react-native-vector-icons

Then:

$ npm install react-native-simple-icons
$ # OR
$ yarn add react-native-simple-icons

Usage

import { Icon } from 'react-native-simple-icons'

<Icon
  name='rowing' />

<Icon
  name='g-translate'
  color='#00aced' />

<Icon
  name='sc-telegram'
  type='evilicon'
  color='#517fa4'
/>

<Icon
  reverse
  name='ios-american-football'
  type='ionicon'
  color='#517fa4'
/>

<Icon
  raised
  name='heartbeat'
  type='font-awesome'
  color='#f50'
  onPress={() => console.log('hello')} />

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

About

Simple Icon component shamelessly taken from react-native-elements

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published