DropDownButton

fun DropDownButton(id: String, text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf())

Parameters

id

the id of the element

text

the dropdown button text

icon

the icon of the dropdown button

style

the style of the dropdown button

disabled

determines if the component is disabled on start

forNavbar

determines if the component will be used in a navbar

forDropDown

determines if the component will be used in a dropdown

classes

a set of CSS class names