UNPKG

bootstrap-vue-next

Version:

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

12 lines (11 loc) 379 B
const 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; }, []); export { getClasses as g }; //# sourceMappingURL=getClasses-CsgNQabU.mjs.map