import { jsx as e } from "react/jsx-runtime";
import i from "../../../box/Box.js";
import s from "../../../button/Button.js";
const m = ({ presets: a, selectedPreset: l, onPresetClick: o }) => !a || a.length === 0 ? null : /* @__PURE__ */ e(i, { className: "flex flex-col items-start w-max gap-[var(--spacing-2)] p-[var(--spacing-2)] rounded-[var(--border-radius-default)]", children: a.map((t, r) => /* @__PURE__ */ e(
  s,
  {
    variant: l === r ? "default" : "ghost",
    size: "xs",
    onClick: () => o(r),
    label: t.label,
    "data-selected": l === r
  },
  t.label
)) });
m.displayName = "DatePickerPresets";
export {
  m as default
};
//# sourceMappingURL=DatePickerPresets.js.map
