SimpleDialog
fun SimpleDialog(title: String, message: String, onPositiveAction: () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier, showDismissButton: Boolean = true)
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.
showDismissButton
If we should show the dismiss button or not.