1.0.1 • Published 4 years ago

coinmarketcap-cryptocurrency-icons v1.0.1

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

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

NameDescriptionDefaultType
iIcon shortcut namestring
sizeDesire size of icon'32px'string / number

Development

npm i
npm start
npm run build

Licence

MIT