IConfirmDialogProps
@spartanfx/react / index / IConfirmDialogProps
Interface: IConfirmDialogProps
Props for the ConfirmDialog component.
Properties
Required
| Property | Type | Default | Description |
|---|---|---|---|
confirmOptions | IConfirmOptions | - | Configuration options that define dialog content and behavior. |
onDismiss | () => void | - | Callback triggered when the dialog is dismissed (e.g., Cancel button). |
Appearance & theming
| Property | Type | Default | Description |
|---|---|---|---|
appearance? | AppearanceMode | AppearanceMode.light | Appearance mode for the dialog (light or dark). |