Skip to content

Commit

Permalink
Matt's review
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 12, 2020
1 parent a1eadc3 commit de8efbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/pages/api-docs/swipeable-drawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
| <span class="prop-name required">onOpen<abbr title="required">*</abbr></span> | <span class="prop-type">func</span> | | Callback fired when the component requests to be opened.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
| <span class="prop-name required">open<abbr title="required">*</abbr></span> | <span class="prop-type">bool</span> | | If `true`, the drawer is open. |
| <span class="prop-name">SwipeAreaProps</span> | <span class="prop-type">object</span> | | The element is used to intercept the touch events on the edge. |
| <span class="prop-name">swipeAreaWidth</span> | <span class="prop-type">number</span> | <span class="prop-default">20</span> | The width of the left most (or right most) area in px where the drawer can be swiped open from. |
| <span class="prop-name">swipeAreaWidth</span> | <span class="prop-type">number</span> | <span class="prop-default">20</span> | The width of the left most (or right most) area in px that the drawer can be swiped open from. |
| <span class="prop-name">transitionDuration</span> | <span class="prop-type">number<br>&#124;&nbsp;{ appear?: number, enter?: number, exit?: number }</span> | <span class="prop-default">{ enter: duration.enteringScreen, exit: duration.leavingScreen }</span> | 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.
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
*/
SwipeAreaProps?: object;
/**
* The width of the left most (or right most) area in px where the
* drawer can be swiped open from.
* The width of the left most (or right most) area in px that
* the drawer can be swiped open from.
* @default 20
*/
swipeAreaWidth?: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,8 @@ SwipeableDrawer.propTypes = {
*/
SwipeAreaProps: PropTypes.object,
/**
* The width of the left most (or right most) area in px where the
* drawer can be swiped open from.
* The width of the left most (or right most) area in px that
* the drawer can be swiped open from.
* @default 20
*/
swipeAreaWidth: PropTypes.number,
Expand Down

0 comments on commit de8efbc

Please sign in to comment.