import { parseISO as t } from "date-fns";
import a from "react";
import o from "react-datepicker";
import "./accelbyte-widgets597.mjs";
import { ArrowIcon as r, ArrowIconStyles as m } from "./accelbyte-widgets125.mjs";
import l from "./accelbyte-widgets598.mjs";
const D = (e) => /* @__PURE__ */ a.createElement("div", { className: l.datePicker }, /* @__PURE__ */ a.createElement(
  o,
  {
    dateFormat: e.dateFormat,
    onChange: e.onChange,
    selected: e.value ? t(e.value) : null,
    disabled: e.disabled ? e.disabled : !1,
    placeholderText: e.placeholderText,
    maxDate: e.maxDate,
    minDate: e.minDate,
    showMonthDropdown: e.showMonthDropdown,
    showYearDropdown: e.showYearDropdown
  }
), /* @__PURE__ */ a.createElement(r, { className: m.down }));
export {
  D as DatePicker
};
