Install using npm install mathan-button
In a React app, use the Button or Badge components:
import { Button } from 'mathan-button'
import { Badge } from 'mathan-button'
| Name | Description | | -------- | ----------- | --------- | -------- | ------- | ---------- | | kind | 'Primary' | 'Outline' | 'Inline' | 'Ghost' | ' Warning' | | data-id | string | | type | 'button' | 'submit' | 'reset' | | name | string | | value | string | | disabled | Boolean | | onClick | function |
Name | Description |
---|---|
value | integer |