CoreDialog
fun CoreDialog(state: UseCaseState, selection: CoreSelection, header: Header? = null, body: @Composable () -> Unit, onPositiveValid: Boolean = true, properties: DialogProperties = DialogProperties())
Core dialog that functions as the base of a custom use-case.
Parameters
state
The state of the sheet.
selection
The selection configuration for the dialog.
header
The header to be displayed at the top of the dialog.
body
The body content to be displayed inside the dialog.
onPositiveValid
If the positive button is valid and therefore enabled.