React Cryptocoins Save

Сryptocurrencies icons as React components

Project README

React Cryptocoins Icons

npm

SVG cryptocurrencies icons as React components.

Designed by allienworks

Installation

npm install react-cryptocoins --save

Usage

import { Btc } from 'react-cryptocoins';

class MyClass extends React.Component {
  render() {
    return <Btc />
  }
}

Or include icons from the compiled folder ./dist.

var Btc = require('react-cryptocoins/dist/icons/btc');

var MyComponent = React.createClass({
  render: function () {
    return (
      <Btc />
    );
  }
});

You can also include the whole icon pack:

import * as Icon from 'react-cryptocoins';

class MyClass extends React.Component {
  render() {
    return <Icon.Eth />
  }
}

Icons can be configured with inline props:

<Icon.Eth color="red" size={48} />

License

The components is available as open source under the terms of the MIT License.

Open Source Agenda is not affiliated with "React Cryptocoins" Project. README Source: kirillshevch/react-cryptocoins
Stars
36
Open Issues
1
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating