UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

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