UNPKG

941 BJavaScriptView Raw
1import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2import generateUtilityClass from '@mui/utils/generateUtilityClass';
3export function getBadgeUtilityClass(slot) {
4 return generateUtilityClass('MuiBadge', slot);
5}
6const badgeClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopRight', 'anchorOriginBottomRight', 'anchorOriginTopLeft', 'anchorOriginBottomLeft', 'invisible', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular',
7// TODO: v6 remove the overlap value from these class keys
8'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
9export default badgeClasses;
\No newline at end of file