import { defineComponent as s, openBlock as l, createBlock as n, resolveDynamicComponent as o, normalizeClass as r, withCtx as i, renderSlot as p } from "vue";
const b = /* @__PURE__ */ s({
  __name: "TabPanel",
  props: {
    tabValue: {},
    activeTab: {},
    is: { default: "div" }
  },
  setup(e) {
    const a = e;
    return (t, c) => (l(), n(o(a.is), {
      id: `tabpanel-${a.tabValue}`,
      "data-test": "stash-tab-panel",
      class: r(["stash-tab-panel", { hidden: a.activeTab !== a.tabValue }]),
      role: "tabpanel"
    }, {
      default: i(() => [
        p(t.$slots, "default")
      ]),
      _: 3
    }, 8, ["id", "class"]));
  }
});
export {
  b as default
};
//# sourceMappingURL=TabPanel.js.map
