Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class DialogButtonBarAction(val text: String, val enabled: Boolean = true, val onClick: () -> Unit)

A single action in a DialogButtonBar, addressed by role rather than position because COUIButtonBarLayout.resortButton reorders the buttons when the bar stacks.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SecurityDialogColors(val statementColor: Color, val linkColor: Color, val checkboxTextColor: Color)
Link copied to clipboard

Functions

Link copied to clipboard
fun DialogButtonBar(negative: DialogButtonBarAction?, positive: DialogButtonBarAction?, modifier: Modifier = Modifier, neutral: DialogButtonBarAction? = null, dynamicLayout: Boolean = true, showDivider: Boolean = true, hasContentAbove: Boolean = true, colors: TextButtonColors = ButtonDefaults.textButtonColorsBorderless(), dividerColor: Color = COUITheme.colorScheme.dividerLine, textStyle: TextStyle = COUITheme.textStyles.button)

A COUI dialog button bar (COUIButtonBarLayout) that automatically flips between a horizontal row and a vertical stack.