Kwik Dropdown
fun KwikDropdown(state: Boolean, shape: Shape = MaterialTheme.shapes.medium, onDismissRequest: () -> Unit, items: List<KwikDropdownItemActionState>)
A dropdown menu component that allows the user to select an item from a list of options.
Parameters
state
: The state of the dropdown menu. If true, the dropdown menu will be shown.
shape
: The shape of the dropdown menu. Default is MaterialTheme.shapes.medium.
on Dismiss Request
: The callback that will be called when the dropdown menu is dismissed.
items
: The list of items to be displayed in the dropdown menu. Each item can be a header, space, divider, or data.