UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

40 lines (39 loc) 1.41 kB
import { t as useDefaults } from "./useDefaults-BKgBaqOV.mjs"; import "./BCard-Dly2DM9l.mjs"; import { createBlock, createTextVNode, defineComponent, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue"; //#endregion //#region src/components/BCard/BCardGroup.vue var BCardGroup_default = /* @__PURE__ */ defineComponent({ __name: "BCardGroup", props: { tag: { default: "div" } }, setup(__props) { const props = useDefaults(__props, "BCardGroup"); return (_ctx, _cache) => { return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), { class: "card-group" }, { default: withCtx(() => [renderSlot(_ctx.$slots, "default")]), _: 3 }); }; } }); //#endregion //#region src/components/BCard/BCardText.vue var BCardText_default = /* @__PURE__ */ defineComponent({ __name: "BCardText", props: { tag: { default: "p" }, text: { default: void 0 } }, setup(__props) { const props = useDefaults(__props, "BCardText"); return (_ctx, _cache) => { return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), { class: "card-text" }, { default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(unref(props).text), 1)])]), _: 3 }); }; } }); //#endregion export { BCardGroup_default as n, BCardText_default as t }; //# sourceMappingURL=BCard-DQxiuBWk.mjs.map