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