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, className: String? = null, direction: Direction = Direction.Dropdown, content: @Composable IUl.() -> Unit = {})

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

className

the CSS class name

direction

the direction of the dropdown

content

the content of the dropdown