1.0.12 • Published 3 years ago
storyteller-ui v1.0.12
UI lib for Miramixi Storyteller
Install
Install using npm install storyteller-ui
Usage
In a React app, use the Button or Badge components:import { Button } from 'storyteller-ui'
import { Badge } from 'storyteller-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 |