sample-counter-with-babel
v0.1.1
Published
install using `npm install sample-counter-with-babel`
Downloads
1
Readme
react components build with babel
install
install using npm install sample-counter-with-babel
usage
In a React app, use the Button or Badge components:import { Button, Badge } from 'sample-counter-with-babel'
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 |