GhostButton
Loading...
How to use
import { GhostButton } from '@vibrant-ui/components';
Properties
Prop | Type | Default | Description |
---|---|---|---|
size | lg | md | sm | Size of the button | |
color | OnColorToken | Button text, Color of Icon | |
type | button | submit | Type of button | |
IconComponent | IconComponent<IconProps, Fill \| Regular> | Type of the button | |
disclosure | none | top | right | bottom | Display status of the arrow Icon in the right side | |
disabled | boolean | Disable status of the button | |
onClick | () => void | Callback function runs when the button is clicked |
Usage
size
Loading...
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.
Loading...