You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/api-docs/dialog.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -39,13 +39,13 @@ The `MuiDialog` name can be used for providing [default props](/customization/gl
39
39
| <spanclass="prop-name">maxWidth</span> | <spanclass="prop-type">'lg'<br>| 'md'<br>| 'sm'<br>| 'xl'<br>| 'xs'<br>| false</span> | <spanclass="prop-default">'sm'</span> | Determine the max-width of the dialog. The dialog width grows with the size of the screen. Set to `false` to disable `maxWidth`. |
40
40
| <spanclass="prop-name">onBackdropClick</span> | <spanclass="prop-type">func</span> || Callback fired when the backdrop is clicked. |
41
41
| <spanclass="prop-name">onClose</span> | <spanclass="prop-type">func</span> || Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object, reason: string) => void`<br>*event:* The event source of the callback.<br>*reason:* Can be: `"escapeKeyDown"`, `"backdropClick"`. |
42
-
|~~<spanclass="prop-name">onEnter</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired before the dialog enters. |
43
-
|~~<spanclass="prop-name">onEntered</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired when the dialog has entered. |
44
-
|~~<spanclass="prop-name">onEntering</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired when the dialog is entering. |
42
+
| <spanclass="prop-name">onEnter</span> | <spanclass="prop-type">func</span> || Callback fired before the dialog enters. |
43
+
| <spanclass="prop-name">onEntered</span> | <spanclass="prop-type">func</span> || Callback fired when the dialog has entered. |
44
+
| <spanclass="prop-name">onEntering</span> | <spanclass="prop-type">func</span> || Callback fired when the dialog is entering. |
45
45
| <spanclass="prop-name">onEscapeKeyDown</span> | <spanclass="prop-type">func</span> || Callback fired when the escape key is pressed, `disableKeyboard` is false and the modal is in focus. |
46
-
|~~<spanclass="prop-name">onExit</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired before the dialog exits. |
47
-
|~~<spanclass="prop-name">onExited</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired when the dialog has exited. |
48
-
|~~<spanclass="prop-name">onExiting</span>~~| <spanclass="prop-type">func</span> ||*Deprecated*. Use the `TransitionProps` property instead.<br><br>Callback fired when the dialog is exiting. |
46
+
| <spanclass="prop-name">onExit</span> | <spanclass="prop-type">func</span> || Callback fired before the dialog exits. |
47
+
| <spanclass="prop-name">onExited</span> | <spanclass="prop-type">func</span> || Callback fired when the dialog has exited. |
48
+
| <spanclass="prop-name">onExiting</span> | <spanclass="prop-type">func</span> || Callback fired when the dialog is exiting. |
49
49
| <spanclass="prop-name required">open<abbrtitle="required">*</abbr></span> | <spanclass="prop-type">bool</span> || If `true`, the Dialog is open. |
50
50
| <spanclass="prop-name">PaperComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">Paper</span> | The component used to render the body of the dialog. |
51
51
| <spanclass="prop-name">PaperProps</span> | <spanclass="prop-type">object</span> | <spanclass="prop-default">{}</span> | Props applied to the [`Paper`](/api/paper/) element. |
0 commit comments