import { jsx as _jsx } from "react/jsx-runtime";
import { AdapterDateFns } from '@mui/x-date-pickers-v6/AdapterDateFns';
import { LocalizationProvider } from '@mui/x-date-pickers-v6/LocalizationProvider';
import { getCurrentLocale } from '../../../../../utils/languages';
import es from 'date-fns/locale/es';
const DatePickersV6Provider = ({ children }) => {
    return (_jsx(LocalizationProvider, { dateAdapter: AdapterDateFns, adapterLocale: getCurrentLocale() || es, children: children }));
};
export default DatePickersV6Provider;
