@dragonchain-dev/dragon-kit-icons
v1.0.1
Published
Dragon Kit Icon Library
Downloads
27
Readme
Dragon Kit Icons
Icons for Dragonchain
Install
npm install dragon-kit-icons --save
or
yarn add dragon-kit-icons
Usage
import { Api } from 'dragon-kit-icons';
<Api />
<Api color='blue' />
<Api size='large' />
<Api size='xlarge' />
View icons for available icons.
Component Props
Size Options
| Name | Size | |:------|:------:| | small | 12px | | medium | 24px | | large | 48px | | xlarge | 96px |
Color Options
| Name | Color | Value | |:-------------|:-------------:|:-------------| | default | | #dddddd | | blue | | #2196f3 | | dark-blue | | #02173e | | alert | | #ff3333 | | white | | #fff |
Build
To build this library, execute the following commands:
- Install NPM modules
$ npm install (or yarn install)
- Run pack and generate icons
$ npm run build
Storybook
To run storybook,
- Install NPM modules
$ npm install (or yarn install)
- Run storybook
$ npm run storybook