@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
22 lines (21 loc) • 758 B
JavaScript
import o from "./NeonTab.es.js";
import { openBlock as n, createElementBlock as r, normalizeClass as t, renderSlot as a, createCommentVNode as l } from "vue";
import d from "../../../../_virtual/_plugin-vue_export-helper.es.js";
const s = ["id", "aria-labelledby"];
function i(e, f, p, m, b, c) {
return e.responsiveView || !e.toggleOnIf || e.toggleOnIf && e.selected ? (n(), r("div", {
key: 0,
id: e.id,
class: t(["neon-tab", { "neon-tab--selected": e.selected }]),
role: "tabpanel",
"aria-labelledby": e.id ? `${e.id}Button` : void 0,
tabindex: "0"
}, [
a(e.$slots, "default")
], 10, s)) : l("", !0);
}
const k = /* @__PURE__ */ d(o, [["render", i]]);
export {
k as default
};
//# sourceMappingURL=NeonTab.vue.es.js.map