https://github.com/co2-git/reactors-icons
https://github.com/co2-git/reactors-icons
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/co2-git/reactors-icons
- Owner: co2-git
- Created: 2016-09-05T20:57:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T22:13:58.000Z (over 8 years ago)
- Last Synced: 2025-02-01T16:23:13.473Z (over 1 year ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
reactors-icons
===
Icons set for [reactors](https://github.com/co2-git/reactors). Uses [fontello](http://fontello.com).
# Install
Add the following to your package.json:
```json
"rnpm": {
"assets": [
"./assets/fontello/font"
]
}
```
Then:
```bash
yarn add reactors-icons
react-native link react-native-vector-icons
```
Don't forget to rebuild for mobile platforms.
# Usage
```jsx
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
}
});
```
# Props
- string `name`
- number? `size`
- string? `color`