interface DialogV2Configuration {
    modal: boolean;
    buttons: DialogV2Button[];
    content: string;
    submit: DialogV2SubmitCallback;
}

Properties

modal: boolean

Modal dialogs prevent interaction with the rest of the UI until they are dismissed or submitted.

buttons: DialogV2Button[]

Button configuration.

content: string

The dialog content.

A function to invoke when the dialog is submitted. This will not be called if the dialog is dismissed.