import React from "react";
import { useTheme } from "@material-ui/core";
import { Calendar } from "react-date-range";
import "react-date-range/dist/styles.css";
import "react-date-range/dist/theme/default.css";
import * as locales from "react-date-range/dist/locale";
//#region src/UI/inputs/calendar/AmbientSingleDateSelector.jsx
/**
* @deprecated Use UdpDateRangeSelector
*/
const AmbientSingleDateSelector = (props) => {
	const { selectedDate, onChange, showMonthAndYearPickers = false, shownDate = /* @__PURE__ */ new Date(), ...other } = props;
	const theme = useTheme();
	return /* @__PURE__ */ React.createElement(Calendar, {
		date: selectedDate,
		onChange,
		locale: locales["enUS"],
		direction: "vertical",
		scroll: { enabled: true },
		color: theme.palette.primary.main,
		showMonthAndYearPickers,
		shownDate,
		...other
	});
};
//#endregion
export { AmbientSingleDateSelector };

//# sourceMappingURL=AmbientSingleDateSelector.mjs.map