UNPKG

@mui/codemod

Version:
97 lines (96 loc) 1.94 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _Drawer = _interopRequireDefault(require("@mui/material/Drawer")); var _SwipeableDrawer = _interopRequireDefault(require("@mui/material/SwipeableDrawer")); var _material = require("@mui/material"); var _jsxRuntime = require("react/jsx-runtime"); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, { slots: { backdrop: Backdrop }, slotProps: { backdrop: { transitionDuration: 300 } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, { slots: { backdrop: Backdrop }, slotProps: { backdrop: { transitionDuration: 300 } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, { slotProps: { paper: { elevation: 20 } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, { slotProps: { paper: { elevation: 20 } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, { slotProps: { transition: { direction: 'right' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, { slotProps: { transition: { direction: 'right' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Drawer, { slots: { backdrop: Backdrop }, slotProps: { backdrop: { transitionDuration: 300 }, paper: { elevation: 20 }, transition: { direction: 'right' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.SwipeableDrawer, { slots: { backdrop: Backdrop }, slotProps: { backdrop: { transitionDuration: 300 }, paper: { elevation: 20 }, transition: { direction: 'right' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomDrawer, { PopperComponent: CustomPopper, TransitionComponent: CustomTransition, PopperProps: { disablePortal: true }, TransitionProps: { timeout: 200 } });