import { jsx as _jsx } from "react/jsx-runtime";
import { useDatepicker } from "@datepicker-react/hooks";
import { XStack } from "tamagui";
import { CalendarPicker } from "./CalendarPicker.native.js";
import { RenderStage } from "./storybook-utils.native.js";
var CalendarPicker_stories_default = {
    component: CalendarPicker,
    parameters: {
      viewport: {
        defaultViewport: "mobile2"
      },
      layout: "fullscreen"
    },
    decorators: [function (Story) {
      return /* @__PURE__ */_jsx(RenderStage, {
        h: 600,
        children: /* @__PURE__ */_jsx(Story, {})
      });
    }]
  },
  Picker = function () {
    var {
      activeMonths,
      firstDayOfWeek,
      ...context
    } = useDatepicker({
      startDate: null,
      endDate: null,
      onDatesChange: function () {},
      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.native.js.map
