install using npm install sample-counter-with-webpack
In a React app, use the Button or Badge components:
import { Button, Badge } from 'sample-counter-with-webpack'
Name | Description |
---|---|
kind | 'Primary' |
data-id | string |
type | 'button' |
name | string |
value | string |
disabled | Boolean |
onClick | function |
Name | Description |
---|---|
value | integer |