@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
32 lines (31 loc) • 973 B
JavaScript
import s from "./NeonPageContainer.es.js";
import { openBlock as n, createElementBlock as o, normalizeClass as r, renderSlot as t, toDisplayString as i, createCommentVNode as a } from "vue";
import l from "../../../_virtual/_plugin-vue_export-helper.es.js";
const c = {
key: 0,
class: "neon-page-container__header"
}, d = {
key: 0,
class: "neon-page-container__title"
};
function p(e, m, h, f, u, _) {
return n(), o("div", {
class: r([{
"neon-page-container--hide-nav": e.hideNav,
"neon-page-container--with-sticky-buttons": e.stickyButtons
}, "neon-page-container"])
}, [
e.hasHeader ? (n(), o("div", c, [
t(e.$slots, "header", {}, () => [
e.title ? (n(), o("h1", d, i(e.title), 1)) : a("", !0)
]),
t(e.$slots, "actions")
])) : a("", !0),
t(e.$slots, "default")
], 2);
}
const y = /* @__PURE__ */ l(s, [["render", p]]);
export {
y as default
};
//# sourceMappingURL=NeonPageContainer.vue.es.js.map