Package-level declarations

Types

Link copied to clipboard

Defines the size of a button.

Link copied to clipboard

Defines the types of the button.

Functions

Link copied to clipboard
fun Button(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, buttonType: ButtonType = ButtonType.Primary, buttonSize: ButtonSize = ButtonSize.Medium, icon: Painter? = null, isEnabled: Boolean = true, isLoading: Boolean = false, contentDescription: String? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A button should lead the user to a certain action. Unique labels give the user a clear message which action is exactly triggered.