tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > ConfirmationHookArguments

ConfirmationHookArguments interface

Signature:

export interface ConfirmationHookArguments

Properties

Property Modifiers Type Description
cancelButtonLabel?   string (Optional) Label for dialog’s cancel button.
description?   ReactNode (Optional) Content of the dialog.
okButtonLabel?   string (Optional) Label for dialog’s confirm button.
onCancel?   () => void (Optional) Callback is executed when dialog has been canceled.
onConfirm   () => void Callback is called after pressing confirm button.
title   string Dialog’s title.