UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

36 lines (35 loc) 976 B
import { defineComponent as n, openBlock as p, createElementBlock as a, normalizeClass as t, unref as o, createElementVNode as l, renderSlot as s, createTextVNode as i, toDisplayString as m } from "vue"; import { useNameHelper as u } from "@vexip-ui/config"; import { optionGroupProps as d } from "./props.mjs"; const g = /* @__PURE__ */ n({ name: "OptionGroup", __name: "option-group", props: d, setup(c) { const e = u("option-group"); return (r, f) => (p(), a("li", { class: t({ [o(e).b()]: !0, [o(e).ns("option-vars")]: !0, [o(e).bm("divided")]: r.divided }) }, [ l("div", { class: t(o(e).be("label")) }, [ s(r.$slots, "label", {}, () => [ i(m(r.label), 1) ]) ], 2), l("ul", { class: t(o(e).be("list")) }, [ s(r.$slots, "default") ], 2) ], 2)); } }); export { g as default }; //# sourceMappingURL=option-group.vue2.mjs.map