Package-level declarations
Types
Link copied to clipboard
data class KwikDropdownItem(val id: UUID = UUID.randomUUID(), val text: @Composable () -> Unit, val onClick: () -> Unit, val enabled: Boolean = true, val leadingIcon: @Composable () -> Unit? = null, val trailingIcon: @Composable () -> Unit? = null, val divider: Boolean = false)
A data class representing an item in the dropdown menu.
Link copied to clipboard
A sealed class representing the different states of the dropdown menu items.
Functions
Link copied to clipboard
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.