DrawerProps
Inheritors
Properties
Side from which the drawer will appear.
A backdrop component. This prop enables custom backdrop rendering.
Props applied to the /material-ui/api/backdrop/ element.
Override or extend the styles applied to the component.
When set to true the Modal waits until a nested Transition is completed before closing.
The components used for each slot inside.
The extra props for the slot components. You can override the existing props or add new ones.
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.
If true
, hitting escape will not fire the onClose
callback.
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 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.
Props applied to the /material-ui/api/modal/ element.
Callback fired when the backdrop is clicked.
A function called when a transition enters.
A function called when a transition has exited.
Props applied to the /material-ui/api/paper/ element.
Props applied to the /material-ui/api/slide/ element.
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.
The variant to use.