UIIconButton
Create a simple button, or a button with a context menu button component.
Properties
Name | Type | Default | Description |
icon |
| Required - Font awesome class to use as an inline icon prefixed to the button text | |
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 |
Example
Example
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