We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d0bd5 commit 0c534bbCopy full SHA for 0c534bb
1 file changed
packages/x-charts/src/ChartsLabel/labelMarkClasses.ts
@@ -18,7 +18,7 @@ export interface ChartsLabelMarkClasses {
18
fill: string;
19
}
20
21
-export function getLabelMarkUtilityClass(slot: string) {
+function getLabelMarkUtilityClass(slot: string) {
22
return generateUtilityClass('MuiChartsLabelMark', slot);
23
24
@@ -30,7 +30,7 @@ export const labelMarkClasses: ChartsLabelMarkClasses = generateUtilityClasses(
30
export const useUtilityClasses = (props: ChartsLabelMarkProps) => {
31
const { type } = props;
32
const slots = {
33
- root: typeof type === 'function' ? ['root'] : ['root', type],
+ root: typeof type === 'function' ? ['root'] : ['root', type === 'line+mark' ? 'lineAndMark' : type],
34
fill: ['fill'],
35
};
36
0 commit comments