23 lines
809 B
JavaScript
23 lines
809 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
let warnedOnce = false;
|
|
const warn = () => {
|
|
if (!warnedOnce) {
|
|
console.warn(['MUI: The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
warnedOnce = true;
|
|
}
|
|
};
|
|
|
|
/**
|
|
* @deprecated The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
*/
|
|
class AdapterDateFns {
|
|
constructor() {
|
|
warn();
|
|
}
|
|
}
|
|
exports.default = AdapterDateFns; |