button-group
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
customStyles | -- | { [key: string]: string; } | {} | |
direction | direction | "horizontal" | "vertical" | "horizontal" | |
group | group | string | "" | |
spacing | spacing | string | "5px" |
Example Usage
1. Basic Button (Default State)
Displays a basic button with an appearance that can be adjusted based on horizontal
, spacing
and
2. Buttons in different orientations
Buttons in different colours, covering primary
, success
, info
, warning
, danger
, ghost
.