dropDown

@Composable
fun IComponent.dropDown(label: String? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.BtnPrimary, size: ButtonSize? = null, disabled: Boolean? = null, autoClose: AutoClose = AutoClose.True, arrowVisible: Boolean = true, innerDropDown: Boolean = false, direction: Direction = Direction.Dropdown, className: String? = null, id: String? = null, content: @Composable IDiv.() -> Unit = {}, buttonClassName: String? = null, buttonId: String? = null, buttonContent: @Composable IButton.() -> Unit = {}, menuEndAlignment: EndAlignment? = null, menuStartAlignment: StartAlignment? = null, menuClassName: String? = null, menuId: String? = null, menuContent: @Composable IUl.() -> Unit = {})(source)

Creates a dropdown component.

Parameters

label

the label of the dropdown button

icon

the icon of the dropdown button

style

the style of the dropdown button

size

the size of the dropdown button

disabled

the disabled state of the dropdown button

autoClose

the auto close state of the dropdown

arrowVisible

the arrow visibility state of the dropdown button

innerDropDown

the inner dropdown state of the dropdown button

direction

the direction of the dropdown

className

the CSS class name

id

the element ID

content

the content of the dropdown

buttonClassName

the CSS class name of the button

buttonId

the ID attribute of the button

buttonContent

the content of the button

menuEndAlignment

the end alignment of the dropdown menu

menuStartAlignment

the start alignment of the dropdown menu

menuClassName

the CSS class name of the dropdown menu

menuId

the ID attribute of the dropdown menu

menuContent

the content of the dropdown menu