0.1.2 • Published 7 months ago

sample-counter-with-webpack v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

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

NameDescription
kind'Primary''Outline''Inline''Ghost'' Warning'
data-idstring
type'button''submit''reset'
namestring
valuestring
disabledBoolean
onClickfunction

badge props

NameDescription
valueinteger