8 lines
260 B
JavaScript
8 lines
260 B
JavaScript
|
import { generateUtilityClass } from '../generateUtilityClass';
|
||
|
export function generateUtilityClasses(componentName, slots) {
|
||
|
const result = {};
|
||
|
slots.forEach(slot => {
|
||
|
result[slot] = generateUtilityClass(componentName, slot);
|
||
|
});
|
||
|
return result;
|
||
|
}
|