FrontPastel/node_modules/@mui/utils/generateUtilityClasses/generateUtilityClasses.js

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;
}