@violetui/icon_button
v0.1.1-beta.0
Published
Vui Icon Button Component Repository.
Downloads
8
Readme
@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
variant(optional): "outlined" | "filledTonal" | "filled" | "standard"
disability(optional): boolean
color(optional): "primary" | "secondary" | "tertiary" | "error" | "warning" | "success" | "neutral"
children: ReactElement
selected(optional): boolean