interface ConfirmDialogOptions {
    cancelButtonText?: string;
    confirmButtonText?: string;
    confirmCheckbox?: boolean;
    confirmCheckboxText?: string;
    destructive?: boolean;
    message?: string;
    title?: string;
}

Hierarchy

  • DialogOptions
    • ConfirmDialogOptions

Properties

cancelButtonText?: string

Text to use on the cancelation action button. Defaults to "Cancel".

confirmButtonText?: string

Text to use on the confirmation action button. Defaults to "Confirm".

confirmCheckbox?: boolean

Indicates whether a confirm checkbox must be shown. Defaults to false.

confirmCheckboxText?: string

Text to use for the confirm checkbox. Defaults to "I am sure".

destructive?: boolean

Indicates that the confirmation result is destructive. Defaults to false.

message?: string

Message to show on the dialog.

title?: string

Title of the dialog.