import { useDatepicker } from "@datepicker-react/hooks";
import { XStack } from "tamagui";
import { CalendarPicker } from "./CalendarPicker.mjs";
import { RenderStage } from "./storybook-utils.mjs";
import { jsx } from "react/jsx-runtime";
var CalendarPicker_stories_default = {
  component: CalendarPicker,
  parameters: {
    viewport: {
      defaultViewport: "mobile2"
    },
    layout: "fullscreen"
  },
  decorators: [Story => /* @__PURE__ */jsx(RenderStage, {
    h: 600,
    children: /* @__PURE__ */jsx(Story, {})
  })]
};
const Picker = () => {
  const {
    activeMonths,
    firstDayOfWeek,
    ...context
  } = useDatepicker({
    startDate: null,
    endDate: null,
    onDatesChange: () => {},
    focusedInput: void 0,
    numberOfMonths: 1
  });
  return /* @__PURE__ */jsx(XStack, {
    children: /* @__PURE__ */jsx(CalendarPicker, {
      activeMonths,
      monthsCount: 1,
      firstDayOfWeek,
      ...context
    })
  });
};
export { Picker, CalendarPicker_stories_default as default };
//# sourceMappingURL=CalendarPicker.stories.mjs.map
