OutlinedButton
How to use
import { OutlinedButton } from '@vibrant-ui/components';
Properties
Prop | Type | Default | Description |
---|---|---|---|
size | xl | lg | md | sm | Size of the button | |
type | button | submit | Type of the button | |
IconComponent | IconComponent<IconProps, Fill \| Regular> | Icon on the left side | |
disclosure | none | top | right | bottom | Display status of the arrow Icon in the right side | |
disabled | boolean | Disable status of the button | |
loading | boolean | Display status of Spinner | |
onClick | () => void | Callback function runs when the button is clicked |
Usage
size
iconComponent
IconComponent
decides Icon on the left side. Only fill or general type IconComponents are available.
disclosure
decides display status of arrow icon on the right side.