'use strict';
import { jsx } from 'react/jsx-runtime';
import { DatePicker } from '../../../../fd-component-toolbox/datepicker/DatePicker.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function DateFilter({
  displayName,
  displayDate,
  onDateChange,
  onOpenChangeCallback,
  ref
}) {
  return /* @__PURE__ */jsx(DatePicker, {
    variant: "float",
    label: displayName,
    date: displayDate,
    onDateValueChange: onDateChange,
    onOpenChange: onOpenChangeCallback,
    ref
  });
}
__name(DateFilter, "DateFilter");

export { DateFilter };
