Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String> = setOf())
separator
- a separator between label and icon/image (defaults to space)
labelFirst
- determines if the label is put before children elements (defaults to true)
classes
- a set of CSS class names
Constructor