Install using npm install react-components-sample-lib
In a React app, use the Button or Badge components:
import { Button } from 'react-components-sample-lib'
import { Badge } from 'react-components-sample-lib'
Name | Description |
---|---|
kind | 'Primary' |
data-id | string |
type | 'button' |
name | string |
value | string |
disabled | Boolean |
onClick | function |
Name | Description |
---|---|
value | integer |