From 7c9a7e805d21ce914c14c2d383a8a0604935d974 Mon Sep 17 00:00:00 2001 From: rahulkotha18 Date: Mon, 14 Oct 2019 11:07:37 +0530 Subject: [PATCH] yarn prettified --- docs/pages/api/dialog.md | 2 +- packages/material-ui/src/Dialog/Dialog.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/api/dialog.md b/docs/pages/api/dialog.md index 27fb358e543de6..031c9b62cd65dd 100644 --- a/docs/pages/api/dialog.md +++ b/docs/pages/api/dialog.md @@ -29,7 +29,7 @@ Dialogs are overlaid modal paper based components with a backdrop. | disableBackdropClick | bool | false | If `true`, clicking the backdrop will not fire the `onClose` callback. | | disableEscapeKeyDown | bool | false | If `true`, hitting escape will not fire the `onClose` callback. | | fullScreen | bool | false | If `true`, the dialog will be full-screen | -| fullWidth | bool | false | If `true`, the dialog stretches to `maxWidth`. | +| fullWidth | bool | false | If `true`, the dialog stretches to `maxWidth`.
Notice that the dialog width grow is limited by the default margin. | | maxWidth | 'xs'
| 'sm'
| 'md'
| 'lg'
| 'xl'
| false
| 'sm' | Determine the max-width of the dialog. The dialog width grows with the size of the screen. Set to `false` to disable `maxWidth`. | | onBackdropClick | func | | Callback fired when the backdrop is clicked. | | onClose | func | | Callback fired when the component requests to be closed.

**Signature:**
`function(event: object, reason: string) => void`
*event:* The event source of the callback.
*reason:* Can be:`"escapeKeyDown"`, `"backdropClick"`. | diff --git a/packages/material-ui/src/Dialog/Dialog.js b/packages/material-ui/src/Dialog/Dialog.js index 51d98e001f1beb..1b1637a535ae22 100644 --- a/packages/material-ui/src/Dialog/Dialog.js +++ b/packages/material-ui/src/Dialog/Dialog.js @@ -292,7 +292,7 @@ Dialog.propTypes = { fullScreen: PropTypes.bool, /** * If `true`, the dialog stretches to `maxWidth`. - * + * * Notice that the dialog width grow is limited by the default margin. */ fullWidth: PropTypes.bool,