Files
ETB/ETB-FrontEnd/node_modules/@mui/lab/DateRangePickerDay/DateRangePickerDay.js
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

22 lines
1.1 KiB
JavaScript

/* eslint-disable @typescript-eslint/no-unused-vars */
import * as React from 'react';
let warnedOnce = false;
const warn = () => {
if (!warnedOnce) {
console.warn(['MUI: The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePickerDay } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
warnedOnce = true;
}
};
/**
* @deprecated The DateRangePickerDay 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.
*/
const DateRangePickerDay = /*#__PURE__*/React.forwardRef(function DeprecatedDateRangePickerDay() {
warn();
return null;
});
export default DateRangePickerDay;
export const getDateRangePickerDayUtilityClass = slot => {
warn();
return '';
};