@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
17 lines (16 loc) • 668 B
JavaScript
import n from "./NeonNotificationCounter.es.js";
import { openBlock as t, createElementBlock as e, normalizeClass as i, toDisplayString as r } from "vue";
import c from "../../../_virtual/_plugin-vue_export-helper.es.js";
function a(o, f, s, u, p, l) {
return t(), e("div", {
class: i(["neon-notification-counter", [
{ "neon-notification-counter--large-count": o.count > 9, "neon-notification-counter--active": o.active },
`neon-notification-counter--${o.color}`
]])
}, r(o.count > 9 ? "9+" : o.count), 3);
}
const v = /* @__PURE__ */ c(n, [["render", a]]);
export {
v as default
};
//# sourceMappingURL=NeonNotificationCounter.vue.es.js.map