ToolbarButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, disabled: Boolean? = null, classes: Set<String> = setOf(), init: (ToolbarButton.() -> Unit)? = null)
Creates a toolbar button component.
content
- the content of the button.
rich
- whether content can contain HTML code
icon
- an icon placed on the toolbar button
disabled
- specify if the button should be disabled
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a toolbar button component.