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