Button
constructor(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, className: String? = null, init: Button.() -> Unit? = null)
Parameters
text
button label
icon
button icon
style
button style
disabled
button state
separator
a separator between label and icon/image (defaults to space)
label First
determines if the label is put before children elements (defaults to true)
class Name
CSS class names
init
an initializer extension function