UNPKG

bootstrap-vue-next

Version:

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

27 lines (26 loc) 850 B
require("./chunk-CoQrYLCe.js"); let vue = require("vue"); //#region src/composables/useColorVariantClasses.ts var useColorVariantClasses = (obj) => (0, vue.computed)(() => { let props = (0, vue.toValue)(obj); props = { variant: props.variant ?? null, bgVariant: props.bgVariant ?? null, textVariant: props.textVariant ?? null, borderVariant: props.borderVariant ?? null }; return { [`text-bg-${props.variant}`]: props.variant !== null, [`text-${props.textVariant}`]: props.textVariant !== null, [`bg-${props.bgVariant}`]: props.bgVariant !== null, [`border-${props.borderVariant}`]: props.borderVariant !== null }; }); //#endregion Object.defineProperty(exports, "useColorVariantClasses", { enumerable: true, get: function() { return useColorVariantClasses; } }); //# sourceMappingURL=useColorVariantClasses-CEfOwjPv.js.map