UNPKG

@mui/codemod

Version:
61 lines (60 loc) 1.22 kB
"use strict"; 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, { slotProps: { input: { 'aria-label': 'Checkbox' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, { slotProps: { input: { ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, { slotProps: { input: { 'aria-label': 'Checkbox', ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, { slotProps: { root: { id: 'test' }, input: { 'aria-label': 'Checkbox', ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, { slotProps: { input: { 'aria-label': 'Checkbox' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, { slotProps: { input: { ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Checkbox, { slotProps: { input: { 'aria-label': 'Checkbox', ref: ref } } });