Dialog API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Dialog7 props1 callbacks0 methods
Props7
| 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. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onCloseRequired |
| Requests that the parent close the surface or picker. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.