@mui/codemod
Version:
Codemod scripts for Material UI.
45 lines (44 loc) • 1.07 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _Checkbox = _interopRequireDefault(require("@mui/material/Checkbox"));
var _material = require("@mui/material");
var _jsxRuntime = require("react/jsx-runtime");
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
inputProps: {
'aria-label': 'Checkbox'
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
inputRef: ref
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
inputProps: {
'aria-label': 'Checkbox'
},
inputRef: ref
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
inputProps: {
'aria-label': 'Checkbox'
},
inputRef: ref,
slotProps: {
root: {
id: 'test'
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, {
inputProps: {
'aria-label': 'Checkbox'
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, {
inputRef: ref
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, {
inputProps: {
'aria-label': 'Checkbox'
},
inputRef: ref
});