0.13.0 • Published 8 months ago
oa_reusable_comp v0.13.0
A reusable component npm package
Install
Install using npm install oa_reusable_comp
Usage
In a React app, use the Button or Badge components:import { Button } from 'oa_reusable_comp'
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 |