@violetui/button
v0.1.1-beta.0
Published
Vui Button Component Repository.
Downloads
2
Readme
@violetui/button
Usage
first import the button component:
const Button = require('@violetui/button');
// or
import Button From '@violetui/button'
use it:
<Button>Click On Me</Button>
Props
variant(optional): "outlined" | "elevated" | "filled" | "filledTonal" | "text"
disability(optional): boolean
color(optional): "primary" | "secondary" | "tertiary" | "error" | "warning" | "success"
startIcon(optional): ReactElement
endIcon(optional): ReactElement