var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: !0 });
}, __copyProps = (to, from, except, desc) => {
  if (from && typeof from == "object" || typeof from == "function")
    for (let key of __getOwnPropNames(from))
      !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var CalendarPicker_stories_exports = {};
__export(CalendarPicker_stories_exports, {
  Picker: () => Picker,
  default: () => CalendarPicker_stories_default
});
module.exports = __toCommonJS(CalendarPicker_stories_exports);
var import_hooks = require("@datepicker-react/hooks"), import_tamagui = require("tamagui"), import_CalendarPicker = require("./CalendarPicker"), import_storybook_utils = require("./storybook-utils"), import_jsx_runtime = require("react/jsx-runtime"), CalendarPicker_stories_default = {
  component: import_CalendarPicker.CalendarPicker,
  parameters: {
    viewport: {
      defaultViewport: "mobile2"
    },
    layout: "fullscreen"
  },
  decorators: [
    (Story) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, { h: 600, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Story, {}) })
  ]
};
const Picker = () => {
  const { activeMonths, firstDayOfWeek, ...context } = (0, import_hooks.useDatepicker)({
    startDate: null,
    endDate: null,
    onDatesChange: () => {
    },
    focusedInput: void 0,
    numberOfMonths: 1
  });
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.XStack, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
    import_CalendarPicker.CalendarPicker,
    {
      activeMonths,
      monthsCount: 1,
      firstDayOfWeek,
      ...context
    }
  ) });
};
//# sourceMappingURL=CalendarPicker.stories.js.map
