Skip to main content
Version: 1.0.0

IConfirmOptions

@spartanfx/react v1.0.0


@spartanfx/react / 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".