@violetui/button
TypeScript icon, indicating that this package has built-in type declarations

0.1.1-beta.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @violetui/button

Weekly Downloads

0

Version

0.1.1-beta.0

License

MIT

Unpacked Size

172 kB

Total Files

39

Last publish

Collaborators

  • syaw0