UIIconButton
Create a simple button, or a button with a context menu button component.
Since: 7.0.0 (6.2.0)
Name | Type | Default | Description |
icon |
| Required - Icon name from style-guide. Example | |
disabled |
|
| Set to true to disable button |
size |
|
| Size of buttons: large|normal|small|tiny |
onClick |
| Callback for when the button is clicked | |
type |
|
| Type of button look. See Available types for variations |
selected |
|
| If button should be i selected state |
Example
Example
type
Available types
The UIButton.props.type
has following variations:
Type dark
is used on buttons on dark background
Name |
default |
primary |
negative primary |
dark default |
dark black |
Last updated