@mui/codemod
Version:
Codemod scripts for Material UI.
32 lines (31 loc) • 633 B
JavaScript
;
var _jsxRuntime = require("react/jsx-runtime");
// No import statements — components are auto-imported
/*#__PURE__*/(0, _jsxRuntime.jsx)(Box, {
display: "flex",
gap: 2,
p: 3,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Typography, {
fontSize: 14,
fontWeight: 600,
children: "Hello"
})
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(Stack, {
direction: "row",
spacing: 2,
mt: 1
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(Link, {
color: "inherit",
href: "https://mui.com/",
mb: 2,
children: "MUI"
});
const sx = {
display: 'flex'
};
/*#__PURE__*/(0, _jsxRuntime.jsx)(Box, {
m: 2,
sx: sx
});