DialogProps
Properties
The id(s) of the element(s) that describe the dialog.
The id(s) of the element(s) that label the dialog.
Override or extend the styles applied to the component.
When set to true the Modal waits until a nested Transition is completed before closing.
If true, the modal will not automatically shift focus to itself when it opens, and replace it to the last focused element when it closes. This also works correctly with any modal children that have the disableAutoFocus prop.
If true, the modal will not prevent focus from leaving the modal while open.
The children will be under the DOM hierarchy of the parent component.
If true, the modal will not restore focus to previously focused element once modal is hidden or unmounted.
Disable the scroll lock behavior.
If true, the dialog is full-screen.
If true, the backdrop is not rendered.
Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Modal.
A function called when a transition enters.
A function called when a transition has exited.
The component used to render the body of the dialog.
Determine the container for scrolling the dialog.
The props used for each slot inside the Modal.
The components used for each slot inside the Modal. Either a string to use a HTML element or a component.
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.