18 lines
1.0 KiB
JavaScript
18 lines
1.0 KiB
JavaScript
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
import * as React from 'react';
|
|
var warnedOnce = false;
|
|
var warn = function warn() {
|
|
if (!warnedOnce) {
|
|
console.warn(['MUI: The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro/DesktopDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
warnedOnce = true;
|
|
}
|
|
};
|
|
/**
|
|
* @deprecated The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
* @ignore - do not document.
|
|
*/
|
|
var DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateRangePicker() {
|
|
warn();
|
|
return null;
|
|
});
|
|
export default DesktopDateRangePicker; |