1.0.3 • Published 3 years ago

react-cryptoicon v1.0.3

Weekly downloads
52
License
MIT
Repository
github
Last release
3 years ago

Usage:

install package:

npm i react-cryptoicon

Import icons like so:

import { DAI } from `react-cryptoicon`

Calling the component:

<DAI color="pink" />

Props:

color: the fill color of the icon. Default is #000.

size: the pixel size of the icon. Default is 32.

Available icons:

The list of available icons can be found in src/index.tsx

export { $PAC } from './svg/$pac'
export { ABT } from './svg/abt'
export { ACT } from './svg/act'
export { ACTN } from './svg/actn'
export { ADA } from './svg/ada'
...

Notes:

Building takes a little while due to the number of individual imports.

Credit

Icons have been taken from the following library: http://cryptoicons.co/ / https://github.com/spothq/cryptocurrency-icons

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago