react-cryptoicon
v1.0.3
Published
A collection of SVG cryptocurrency icons to use in your react app
Downloads
15
Readme
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