1.0.1 • Published 4 years ago
coinmarketcap-cryptocurrency-icons v1.0.1
coinmarketcap-cryptocurrency-icons
Flexible and easy to use react crypto-icons package.
Installation
NPM
npm i coinmarketcap-cryptocurrency-icons
Usage
import React from "react";
import { Icon } from "coinmarketcap-cryptocurrency-icons";
function App() {
return (
<div>
<Icon i="eth" size={32} />
</div>
);
}
export default App;
Common props
Name | Description | Default | Type |
---|---|---|---|
i | Icon shortcut name | string | |
size | Desire size of icon | '32px' | string / number |
Development
npm i
npm start
npm run build
Licence
MIT