0.8.0 • Published 2 years ago
kodie-btn-test v0.8.0
A small but functional npm package
Install
Install using npm install jawblia
Usage
In a React app, use the Button or Badge components:import { Button } from 'jawblia'
import { Badge } from 'jawblia'
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 |