react-native-simple-icons
v1.0.0
Published
Simple Icon component shamelessly taken from react-native-elements
Downloads
6
Maintainers
Readme
react-native-simple-icons
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
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT