Package-level declarations
Types
Link copied to clipboard
interface InfoBoxStyle
InfoBoxStyle
is an interface that defines the styling properties for an information box. It provides customizable colors for the background, border, text, and icon.
Link copied to clipboard
A sealed interface representing various styles for an InfoBox component. Each style defines its own color palette for the background, border, text, and icon tint.
Functions
Link copied to clipboard
fun KPInfoBox(style: InfoBoxStyle, modifier: Modifier = Modifier, iconPosition: Arrangement.Horizontal? = null, showBorder: Boolean = false, showDashedBorder: Boolean = false, multiText: @Composable ColumnScope.() -> Unit)
KPInfoBox is a composable function that displays an information box with a specified style and customizable multi-line text. Optionally, it can display an icon and a border.
fun KPInfoBox(style: InfoBoxStyle, text: String, modifier: Modifier = Modifier, iconPosition: Arrangement.Horizontal? = null, showBorder: Boolean = false, showDashedBorder: Boolean = false)
KPInfoBox is a composable function that displays an information box with a specified style, text, and optional icon. Optionally, it can display an icon and a border.