@mui/codemod
Version:
Codemod scripts for Material UI.
72 lines (71 loc) • 1.36 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _TablePagination = _interopRequireDefault(require("@mui/material/TablePagination"));
var _material = require("@mui/material");
var _jsxRuntime = require("react/jsx-runtime");
/*#__PURE__*/(0, _jsxRuntime.jsx)(_TablePagination.default, {
slots: {
actions: "div"
},
slotProps: {
select: {
native: true
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_TablePagination.default, {
slots: {
actions: 'div',
select: 'div'
},
slotProps: {
select: {
native: true
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_TablePagination.default, {
slots: {
root: 'div',
actions: "div"
},
slotProps: {
root: {
'aria-label': ''
},
select: {
native: true
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_TablePagination.default, {
slots: {
actions: () => null
},
slotProps: {
select: {
...{
native: true
},
...{
native: false
}
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.TablePagination, {
slots: {
actions: "div"
},
slotProps: {
select: {
native: true
}
}
});
/*#__PURE__*/(0, _jsxRuntime.jsx)(CustomTablePagination, {
ActionsComponent: "div",
SelectProps: {
native: true
}
});