UNPKG

@mui/codemod

Version:
47 lines (46 loc) 1.43 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _Dialog = _interopRequireDefault(require("@mui/material/Dialog")); var _material = require("@mui/material"); var _jsxRuntime = require("react/jsx-runtime"); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.default, { TransitionComponent: CustomTransition, TransitionProps: CustomTransitionProps, PaperProps: PaperProps }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Dialog, { TransitionComponent: CustomTransition, TransitionProps: CustomTransitionProps, PaperProps: PaperProps }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.default, { TransitionComponent: CustomTransition, TransitionProps: CustomTransitionProps, slots: { root: 'div' }, PaperProps: PaperProps }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Dialog, { TransitionComponent: CustomTransition, TransitionProps: CustomTransitionProps, slots: { ...outerSlots }, PaperProps: PaperProps }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.default, { TransitionComponent: ComponentTransition, TransitionProps: CustomTransitionProps, slots: { root: 'div', transition: SlotTransition }, PaperProps: PaperProps }); // should skip non MUI components /*#__PURE__*/(0, _jsxRuntime.jsx)(NonMuiDialog, { TransitionComponent: CustomTransition, TransitionProps: CustomTransitionProps, PaperProps: PaperProps });