PillButtonContainerScope

Functions

Link copied to clipboard
fun PillButtonContainerScope.PillButton(onClick: () -> Unit, modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, icon: @Composable () -> Unit = {}, content: @Composable () -> Unit = {})

An elevated pill-shaped button that displays given content and (optionally) an icon.