UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

34 lines (33 loc) 1.09 kB
import t from "./NeonInputIndicator.es.js"; import { resolveComponent as l, openBlock as e, createElementBlock as o, normalizeClass as r, createBlock as s, createCommentVNode as i, toDisplayString as c } from "vue"; import d from "../../../_virtual/_plugin-vue_export-helper.es.js"; const p = { key: 1, class: "neon-input-indicator__label" }; function m(n, u, b, f, _, k) { const a = l("neon-icon"); return e(), o("label", { class: r(["no-style neon-input-indicator", [ `neon-input-indicator--${n.size}`, { "neon-input-indicator--with-icon": n.icon, "neon-input-indicator--with-label": n.label, "neon-input-indicator--disabled": n.disabled } ]]) }, [ n.icon ? (e(), s(a, { key: 0, name: n.icon, disabled: n.disabled, class: "neon-input-indicator__icon" }, null, 8, ["name", "disabled"])) : i("", !0), n.label ? (e(), o("span", p, c(n.label), 1)) : i("", !0) ], 2); } const B = /* @__PURE__ */ d(t, [["render", m]]); export { B as default }; //# sourceMappingURL=NeonInputIndicator.vue.es.js.map