UNPKG

bootstrap-vue-next

Version:

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

25 lines (24 loc) 590 B
import { defineComponent, h } from "vue"; //#endregion //#region src/components/ConditionalWrapper.vue var ConditionalWrapper_default = defineComponent({ name: "ConditionalWrapper", inheritAttrs: false, props: { tag: { type: String, default: "div" }, skip: { type: Boolean, required: true } }, slots: Object, setup(props, { slots, attrs }) { return () => props.skip ? slots.default?.({}) : h(props.tag, { ...attrs }, [slots.default?.({})]); } }); //#endregion export { ConditionalWrapper_default as t }; //# sourceMappingURL=ConditionalWrapper-D9ovtbHB.mjs.map