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