UIButtonGroup
Create a button with a context menu button component.
Properties
Name | Type | Default | Description |
label |
| Required - The text of the label | |
enabled |
|
| (Deprecated) Use |
disabled |
|
| To disabled button |
icon |
| Font awesome class to use as an inline icon prefixed to the button text | |
type |
|
| Type of button look. See Available types for variations |
size |
| Size of button. Variants: large|small | |
onClick |
| Callback for when the button is clicked | |
contextIcon |
| Font Awesome class to use as a context icon | |
onContextClick |
| Optional callback for when context part is clicked | |
contextIconEnabled |
|
| (Deprecated) Use |
contextIconDisabled |
|
| If context icon is disabled or not |
Example
Available types
The UIButtonGroup.props.type
has following variations:
By adding secondary
to the type you down size it automatically. Good use with a "Cancel"-button
Type dark-mode
should be added if button is on dark background
Name |
default |
primary |
draft |
alert |
pending |
warning |
done |
schedule |
brand |
Last updated