st-ds
v0.1.0
Published
Two test React components
Downloads
3
Readme
A small but functional npm package
Install
Install using npm install st-ui
Usage
In a React app, use the Button or Badge components:import { Button } from 'st-ui'
import { Badge } from 'st-ui'
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 |