ConfirmDialog API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
ConfirmDialog10 props2 callbacks0 methods
Props10
| Name | Type | Description |
|---|---|---|
openRequired | boolean | Expanded or visible state of the surface or disclosure. |
titleRequired | string | Heading or title text used by this component. |
closeLabelRequired | string | Accessible text for the close action. |
childrenOptional |
| Content rendered inside the component. Supply nodes from the framework adapter you are using. |
footerOptional |
| Content rendered in the footer or after the main component content. |
draggableOptional | boolean | undefined | Allows the dialog to be moved using its header. |
returnFocusOptional |
| Element that receives focus when the dialog closes. |
confirmLabelRequired | string | Text for the confirm action. |
cancelLabelRequired | string | Text for the cancel action. |
pendingOptional | boolean | undefined | Indicates a confirmation action is pending and blocks repeated confirmation. |
Events and callbacks2
| Name | Type | Description |
|---|---|---|
onCloseRequired |
| Requests that the parent close the surface or picker. |
onConfirmRequired |
| Runs the application confirmation action. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.