SimpleDialog

fun SimpleDialog(title: String, message: String, onPositiveAction: () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)

Generic dialog component that allows us to prompt the user.

Parameters

title

Title for the dialog.

message

Message for the dialog.

onPositiveAction

Handler when the user confirms the dialog.

onDismiss

Handler when the user dismisses the dialog.

modifier

Modifier for styling.