UNPKG

bootstrap-vue-next

Version:

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

14 lines (13 loc) 420 B
//#region src/utils/getClasses.ts var getClasses = (props, els, propPrefix, classPrefix = propPrefix) => els.reduce((arr, prop) => { if (!props[prop]) return arr; arr.push([ classPrefix, prop.replace(propPrefix, ""), props[prop] ].filter((e) => e && typeof e !== "boolean").join("-").toLowerCase()); return arr; }, []); //#endregion export { getClasses as t }; //# sourceMappingURL=getClasses-DaWzwT2S.mjs.map