@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