sample-counter-with-webpack
v0.1.2
Published
install using `npm install sample-counter-with-webpack`
Downloads
1
Readme
react components build with babel
install
install using npm install sample-counter-with-webpack
usage
In a React app, use the Button or Badge components:import { Button, Badge } from 'sample-counter-with-webpack'
button props
| Name | Description
| ----------- | -----------
| kind | 'Primary' | 'Outline' | 'Inline' | 'Ghost' | ' Warning'
| data-id | string
| type | 'button' | 'submit' | 'reset'
| name | string
| value | string
| disabled | Boolean
| onClick | function
badge props
| Name | Description | | ----------- | ----------- | | value | integer |