Name |
---|
label
string
Required - The text of the label
enabled
boolean
true
(Deprecated) Use disabled
instead
disabled
boolean
false
To disabled button
selected
boolean
false
Selected state or not
icon
string
Icon name from style-guide. Example arrow-right-bold
(or (Deprecated) FontAwesome 4 icon. Example fa-user
). Prefix text
type
string
""primary""
Type of button look. See Available types for variations
size
string
""normal""
Size of button. Variants: large|normal|small
width
string
Width of button. Variants: block|full
onClick
function
Callback for when the button is clicked
default
secondary
primary
draft
alert
pending
warning
done
schedule
brand
alert outlined
dark default
dark primary
dark outlined
dark negative primary
dark secondary
text default
text primary
text dark default
text dark black