(theme: Theme)
| 39 | } |
| 40 | |
| 41 | const openedMixin = (theme: Theme): CSSObject => ({ |
| 42 | width: drawerWidth, |
| 43 | transition: theme.transitions.create('width', { |
| 44 | easing: theme.transitions.easing.sharp, |
| 45 | duration: theme.transitions.duration.enteringScreen |
| 46 | }), |
| 47 | overflowX: 'hidden' |
| 48 | }) |
| 49 | |
| 50 | const closedMixin = (theme: Theme): CSSObject => ({ |
| 51 | transition: theme.transitions.create('width', { |