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 Tabs_stories_exports = {};
__export(Tabs_stories_exports, {
  Primary: () => Primary,
  default: () => Tabs_stories_default
});
module.exports = __toCommonJS(Tabs_stories_exports);
var import_react = require("react"), import_tamagui = require("tamagui"), import_Tabs = require("./Tabs"), import_render = require("./render"), import_jsx_runtime = require("react/jsx-runtime"), Tabs_stories_default = {
  component: import_Tabs.TabsContainer,
  parameters: {
    viewport: {
      defaultViewport: "mobile2"
    },
    layout: "fullscreen"
  },
  decorators: [
    (Story) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.View, { style: { height: "100vh", display: "flex" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Story, {}) })
  ]
};
const Primary = () => {
  const [value, setValue] = (0, import_react.useState)("one");
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, { gap: 40, children: [
    /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
      import_Tabs.Tabs,
      {
        value,
        onChange: setValue,
        items: ["one", "two", "three"].map((v) => ({
          label: (0, import_render.toCapitalCase)(v),
          value: v
        }))
      }
    ),
    /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
      import_Tabs.Tabs,
      {
        value,
        shiftLeft: !0,
        onChange: setValue,
        items: ["one", "two", "three"].map((v) => ({
          label: (0, import_render.toCapitalCase)(v),
          value: v
        }))
      }
    )
  ] });
};
//# sourceMappingURL=Tabs.stories.js.map
