@mui/codemod
Version:
Codemod scripts for Material UI.
18 lines (17 loc) • 428 B
JavaScript
;
var _jsxRuntime = require("react/jsx-runtime");
// --jsx accepts arbitrary component names (e.g. DialogTitle, Skeleton, SvgIcon)
/*#__PURE__*/(0, _jsxRuntime.jsx)(DialogTitle, {
display: "flex",
alignItems: "center",
children: "Title"
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(Skeleton, {
height: 60,
width: 100,
mb: 2
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(SvgIcon, {
width: "1rem",
height: "1rem"
});