0.1.1-beta.0 • Published 1 year ago

@violetui/button v0.1.1-beta.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@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

  1. variant(optional): "outlined" | "elevated" | "filled" | "filledTonal" | "text"

  2. disability(optional): boolean

  3. color(optional): "primary" | "secondary" | "tertiary" | "error" | "warning" | "success"

  4. startIcon(optional): ReactElement

  5. endIcon(optional): ReactElement