Arc.React
    Preparing search index...

    Type Alias ShowConfirmationDialog

    ShowConfirmationDialog: (
        title?: string,
        message?: string,
        buttons?: DialogButtons,
    ) => Promise<DialogResult>

    Represents the signature for showing a confirmation dialog.

    Type Declaration

      • (
            title?: string,
            message?: string,
            buttons?: DialogButtons,
        ): Promise<DialogResult>
      • Parameters

        • Optionaltitle: string

          Optional title of the confirmation dialog.

        • Optionalmessage: string

          Optional message to display in the confirmation dialog.

        • Optionalbuttons: DialogButtons

          Optional buttons to display in the confirmation dialog. If not provided, defaults to DialogButtons.Ok.

        Returns Promise<DialogResult>

        A promise that resolves to a tuple containing the dialog result and any additional data.