https://github.com/kirillshevch/react-cryptocoins
Сryptocurrencies icons as React components
https://github.com/kirillshevch/react-cryptocoins
cryptocoins icons inline react svg
Last synced: 7 months ago
JSON representation
Сryptocurrencies icons as React components
- Host: GitHub
- URL: https://github.com/kirillshevch/react-cryptocoins
- Owner: kirillshevch
- License: mit
- Created: 2017-06-29T10:05:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T18:07:21.000Z (over 8 years ago)
- Last Synced: 2024-12-28T15:33:50.629Z (over 1 year ago)
- Topics: cryptocoins, icons, inline, react, svg
- Language: JavaScript
- Homepage:
- Size: 533 KB
- Stars: 36
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## React Cryptocoins Icons
[](https://www.npmjs.com/package/react-cryptocoins)
## SVG cryptocurrencies icons as React components.
Designed by [allienworks](https://github.com/allienworks/cryptocoins)
## Installation
npm install react-cryptocoins --save
## Usage
```javascript
import { Btc } from 'react-cryptocoins';
class MyClass extends React.Component {
render() {
return
}
}
````
Or include icons from the compiled folder ./dist.
```javascript
var Btc = require('react-cryptocoins/dist/icons/btc');
var MyComponent = React.createClass({
render: function () {
return (
);
}
});
```
You can also include the whole icon pack:
```javascript
import * as Icon from 'react-cryptocoins';
class MyClass extends React.Component {
render() {
return
}
}
```
Icons can be configured with inline props:
```javascript
```
## License
The components is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).