Designed by allienworks
npm install react-cryptocoins --save
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} />
The components is available as open source under the terms of the MIT License.