@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
30 lines (29 loc) • 800 B
JavaScript
import { defineComponent, createElementBlock, openBlock, renderSlot, createElementVNode, toDisplayString } from "vue";
const _hoisted_1 = { class: "o-option-group" };
const _hoisted_2 = { class: "o-option-group-name" };
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "OOptionGroup",
props: {
name: {}
},
setup(__props) {
const props = __props;
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", _hoisted_1, [
renderSlot(_ctx.$slots, "name", {}, () => [
createElementVNode(
"div",
_hoisted_2,
toDisplayString(props.name),
1
/* TEXT */
)
]),
renderSlot(_ctx.$slots, "default")
]);
};
}
});
export {
_sfc_main as default
};