Source Alert Banner
fun SourceAlertBanner(messageText: String, priority: SourceAlertBanner.Priority, onMessageClick: () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)
A banner component that displays an alert message with styling based on provided priority.
Parameters
message Text
The text to be displayed in the banner.
priority
The type of message to be displayed (Neutral, Informative, Error).
on Message Click
A callback to be invoked when the banner is clicked.
on Dismiss
A callback to be invoked when the cancel icon is clicked.
modifier
The modifier to be applied to the banner.
See also
fun SourceAlertBanner(messageText: AnnotatedString, priority: SourceAlertBanner.Priority, onMessageClick: () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)
A composable function that displays an alert banner with optional clickable links.
Parameters
message Text
The text to be displayed in the banner having link in it.
priority
The type of message to be displayed (Neutral, Informative, Error).
on Message Click
A callback to be invoked when the banner is clicked.
on Dismiss
A callback to be invoked when the cancel icon is clicked.
modifier
The modifier to be applied to the banner.