reactors-icons

3.0.13 • Public • Published

reactors-icons

Icons set for reactors. Uses fontello.

Install

Add the following to your package.json:

  "rnpm": {
    "assets": [
	     "./assets/fontello/font"
    ]
  }

Then:

yarn add reactors-icons
react-native link react-native-vector-icons

Don't forget to rebuild for mobile platforms.

Usage

import Icon from 'reactors-icons';
import iconConfig from './assets/fontello/config.json';

Icon.setSource({
  web: './assets/fonts/fontello.css',
  desktop: 'assets/fonts/fontello.css',
  mobile: {
    config: iconConfig
  }
});

<Icon name="user" size={32} />

Props

  • string name
  • number? size
  • string? color

Readme

Keywords

none

Package Sidebar

Install

npm i reactors-icons

Weekly Downloads

2

Version

3.0.13

License

ISC

Unpacked Size

93.9 kB

Total Files

8

Last publish

Collaborators

  • francoisv