ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
27 lines (26 loc) • 914 B
JavaScript
import { defineComponent as u, useSlots as i, computed as p, createVNode as r } from "vue";
import { b as a } from "../chunks/module-chunk.mjs";
import { useGroupTitleContextInject as l } from "./context.mjs";
import { Typography as c } from "ant-design-vue";
import { _ as m } from "../chunks/helper-chunk.mjs";
const f = /* @__PURE__ */ u({
name: "AXConversationsGroupTitle",
__name: "GroupTitle",
setup(d, {
expose: s
}) {
s();
const e = i(), n = l(), o = p(() => {
var t;
return (t = e.default) == null ? void 0 : t.call(e);
});
return () => r("div", {
class: a(`${n.value.prefixCls}-group-title`)
}, [o.value && r(c.Text, null, {
default: () => [o.value]
})]);
}
}), C = /* @__PURE__ */ m(f, [["__file", "/Users/wangzhichao/办公/code/github/ant-design-x-vue-pure/ant-design-x-vue/src/conversations/GroupTitle.vue"]]);
export {
C as default
};