@mui/codemod
Version:
Codemod scripts for Material UI.
54 lines (53 loc) • 1.34 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _SpeedDial = _interopRequireDefault(require("@org/ui/material/SpeedDial"));
var _material = require("@org/ui/material");
var _jsxRuntime = require("react/jsx-runtime");
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDial.default, {
slots: {
transition: CustomTransition
},
slotProps: {
transition: CustomTransitionProps
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.SpeedDial, {
slots: {
transition: CustomTransition
},
slotProps: {
transition: CustomTransitionProps
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDial.default, {
slots: {
root: 'div',
transition: CustomTransition
},
slotProps: {
transition: CustomTransitionProps
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.SpeedDial, {
slots: {
...outerSlots,
transition: CustomTransition
},
slotProps: {
transition: CustomTransitionProps
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDial.default, {
slots: {
root: 'div',
transition: SlotTransition
},
slotProps: {
transition: CustomTransitionProps
}
});
// should skip non MUI components
/*#__PURE__*/(0, _jsxRuntime.jsx)(NonMuiSpeedDial, {
TransitionComponent: CustomTransition,
TransitionProps: CustomTransitionProps
});