InlineAlert

fun InlineAlert(modifier: <Error class: unknown class> = Modifier, icon: <Error class: unknown class>, iconTint: <Error class: unknown class> = Color.Unspecified, iconBackground: <Error class: unknown class> = Color.Unspecified, borderColor: <Error class: unknown class> = Color.Unspecified, primaryText: String, secondaryText: String? = null)

An alert to bring attention to another element, inline with existing content.

Parameters

modifier

The modifier to be applied to the alert.

icon

The icon, provided as a Painter.

iconTint

The Color to tint the icon with.

iconBackground

The background Color to display behind the icon.

borderColor

The Color of the border for the alert bubble.

primaryText

The primary text for the alert. Depending on the existence of secondaryText and the length of this text when rendered will determine what androidx.compose.ui.text.TextStyle is used.

secondaryText

The optional text to display below the primaryText.