UNPKG

@mui/codemod

Version:
61 lines (60 loc) 1.2 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _Switch = _interopRequireDefault(require("@mui/material/Switch")); var _material = require("@mui/material"); var _jsxRuntime = require("react/jsx-runtime"); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, { slotProps: { input: { 'aria-label': 'Switch' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, { slotProps: { input: { ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, { slotProps: { input: { 'aria-label': 'Switch', ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_Switch.default, { slotProps: { root: { id: 'test' }, input: { 'aria-label': 'Switch', ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Switch, { slotProps: { input: { 'aria-label': 'Switch' } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Switch, { slotProps: { input: { ref: ref } } }); /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Switch, { slotProps: { input: { 'aria-label': 'Switch', ref: ref } } });