1.0.9 • Published 5 years ago
@cpin/cpin-icon v1.0.9
Cpin Icons for React
Install
yarn add @cpin/cpin-icon
Basic Usage
Importing the target icon as a component.
import { Bill, Calender } from '@cpin/cpin-icon'
Icon Props
Attitude | Description | Type | Default |
---|---|---|---|
style | Setting icon style. | React.CSSProperties | |
height | Height of the icon | 'string' | 'number' | |
width | Width of the icon | 'string' | 'number' | |
color | Icon color | string | |
hoverColor | Icon color when mouse hover | string |
Build Project
npm run build:icon
npm run build