diff --git a/docs/pages/api-docs/swipeable-drawer.md b/docs/pages/api-docs/swipeable-drawer.md index eea52653a1d2d8..4c249089a2ed7a 100644 --- a/docs/pages/api-docs/swipeable-drawer.md +++ b/docs/pages/api-docs/swipeable-drawer.md @@ -36,7 +36,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi | onOpen* | func | | Callback fired when the component requests to be opened.

**Signature:**
`function(event: object) => void`
*event:* The event source of the callback. | | open* | bool | | If `true`, the drawer is open. | | SwipeAreaProps | object | | The element is used to intercept the touch events on the edge. | -| swipeAreaWidth | number | 20 | The width of the left most (or right most) area in px where the drawer can be swiped open from. | +| swipeAreaWidth | number | 20 | The width of the left most (or right most) area in px that the drawer can be swiped open from. | | transitionDuration | number
| { appear?: number, enter?: number, exit?: number }
| { enter: duration.enteringScreen, exit: duration.leavingScreen } | The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object. | The `ref` is forwarded to the root element. diff --git a/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.d.ts b/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.d.ts index f0e58bebcf0ecc..478e0a31781e43 100644 --- a/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.d.ts +++ b/packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.d.ts @@ -55,8 +55,8 @@ export interface SwipeableDrawerProps extends Omit