0.1.2 • Published 7 months ago
sample-counter-with-webpack v0.1.2
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 |