0.1.1-beta.0 • Published 1 year ago

@violetui/icon_button v0.1.1-beta.0

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

@violetui/icon_button

Usage

first import the button component:

const IconButton = require('@violetui/icon_button');
// or
import IconButton From '@violetui/icon_button'

use it:

<IconButton>
  <Icon />
</IconButton>

Props

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

  2. disability(optional): boolean

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

  4. children: ReactElement

  5. selected(optional): boolean