@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
33 lines (32 loc) • 1 kB
JavaScript
import d from "./NeonCardListCard.es.js";
import { resolveComponent as n, openBlock as c, createBlock as s, normalizeClass as t, withCtx as r, createVNode as i, renderSlot as _ } from "vue";
import p from "../../../../_virtual/_plugin-vue_export-helper.es.js";
function m(o, e, f, b, u, k) {
const a = n("neon-card-body"), l = n("neon-card");
return c(), s(l, {
class: t([[
o.color && `neon-card-list__card--${o.color}`,
{
"neon-card-list__card--clickable": o.clickable,
"neon-card-list__card--disabled": o.disabled
}
], "neon-card-list__card"]),
size: "s",
onClick: e[0] || (e[0] = ($) => o.clickable && !o.disabled && o.emit("click"))
}, {
default: r(() => [
i(a, null, {
default: r(() => [
_(o.$slots, "default")
]),
_: 3
})
]),
_: 3
}, 8, ["class"]);
}
const z = /* @__PURE__ */ p(d, [["render", m]]);
export {
z as default
};
//# sourceMappingURL=NeonCardListCard.vue.es.js.map