tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > ModalFooterComponentProps

ModalFooterComponentProps interface

Signature:

export interface ModalFooterComponentProps

Properties

Property Modifiers Type Description
cancelButtonLabel?   string (Optional) Label for the Cancel button of the Modal.
isCancelButtonDisabled?   boolean (Optional) Boolean that indicates disabled state of the Cancel button.
isOkButtonDisabled?   boolean (Optional) Boolean that indicates disabled state of the Ok button.
okButtonLabel?   string (Optional) Label for the Ok button of the Modal.
onCancel?   () => void (Optional) Callback executed when Cancel button clicked.
onOk?   () => void (Optional) Callback executed when Ok button clicked.