Skip to content

carlfairclough/react-cryptoicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A collection of crypto icons for react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published