Skip to main content
Version: 2.1.4

IConfirmOptions

3p-core v2.1.4


3p-core / IConfirmOptions

Interface: IConfirmOptions

Defines the configuration options for a confirm dialog instance.

Properties

PropertyTypeDescription
additionalFields?IFieldConfig[]Additional fields to display in the dialog before confirmation.
commentOptions?Partial<ITextFieldProps>Optional configuration props for the comment TextField.
commentType?"none" | "mandatory" | "optional"Comment input configuration: mandatory, optional, or none.
messagestringMain message displayed in the dialog.
onConfirm(comment?, additionalFieldsValue?) => voidCallback executed when the user confirms.
title?stringOptional dialog title. Defaults to "Confirm".