0.3.0 • Published 1 year ago
my-react-component-pujan v0.3.0
A small but functional npm package
Install
Install using npm install my-react-component-pujan
Usage
In a React app, use the Button or Badge components:import { Button } from 'my-react-component-pujan'
import { Badge } from 'my-react-component-pujan'
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 |