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 TimePicker_stories_exports = {};
__export(TimePicker_stories_exports, {
  Picker: () => Picker,
  default: () => TimePicker_stories_default
});
module.exports = __toCommonJS(TimePicker_stories_exports);
var import_jsx_runtime = require("react/jsx-runtime"), import_date_fns = require("date-fns"), import_react = require("react"), import_tamagui = require("tamagui"), import_storybook_utils = require("./storybook-utils"), import_TimePicker = require("./TimePicker"), import_typography = require("./typography"), TimePicker_stories_default = {
  component: import_TimePicker.TimePicker
}, Picker = function() {
  var [date, setDate] = (0, import_react.useState)(/* @__PURE__ */ new Date());
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, {
    height: 240,
    children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, {
      gap: 20,
      justifyContent: "center",
      alignItems: "center",
      children: [
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TimePicker.TimePicker, {
          value: date,
          onChange: setDate
        }),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_typography.Title, {
          children: "Date state:"
        }),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_typography.Body, {
          size: "large",
          children: (0, import_date_fns.format)(date, "hh:mm aaaaa'm'")
        })
      ]
    })
  });
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  Picker
});
//# sourceMappingURL=TimePicker.stories.js.map
