Skip to content

Commit 5a64f5f

Browse files
authoredJul 23, 2023
[test] Fix linting error by matching main component demo name to filename (#38122)
1 parent 49989b1 commit 5a64f5f

12 files changed

+12
-12
lines changed
 

‎docs/data/material/customization/palette/ContrastThreshold.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ContrastShowcase({ title }) {
2929
);
3030
}
3131

32-
export default function contrastThreshold() {
32+
export default function ContrastThreshold() {
3333
return (
3434
<Stack direction="row" gap={4}>
3535
<ThemeProvider theme={defaultContrastThresholdTheme}>

‎docs/data/material/customization/palette/ContrastThreshold.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ContrastShowcase({ title }: { title: string }) {
2929
);
3030
}
3131

32-
export default function contrastThreshold() {
32+
export default function ContrastThreshold() {
3333
return (
3434
<Stack direction="row" gap={4}>
3535
<ThemeProvider theme={defaultContrastThresholdTheme}>

‎docs/data/material/customization/palette/ManuallyProvideCustomColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const theme = createTheme({
1515
},
1616
});
1717

18-
export default function Palette() {
18+
export default function ManuallyProvideCustomColor() {
1919
return (
2020
<ThemeProvider theme={theme}>
2121
<Stack gap={2} alignItems="center">

‎docs/data/material/customization/palette/ManuallyProvideCustomColor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const theme = createTheme({
3333
},
3434
});
3535

36-
export default function Palette() {
36+
export default function ManuallyProvideCustomColor() {
3737
return (
3838
<ThemeProvider theme={theme}>
3939
<Stack gap={2} alignItems="center">

‎docs/data/material/customization/palette/ManuallyProvidePaletteColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function ColorShowcase({ color }) {
4646
);
4747
}
4848

49-
export default function Palette() {
49+
export default function ManuallyProvidePaletteColor() {
5050
return (
5151
<ThemeProvider theme={theme}>
5252
<Stack direction="row" gap={8}>

‎docs/data/material/customization/palette/ManuallyProvidePaletteColor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function ColorShowcase({ color }: { color: 'primary' | 'secondary' }) {
4646
);
4747
}
4848

49-
export default function Palette() {
49+
export default function ManuallyProvidePaletteColor() {
5050
return (
5151
<ThemeProvider theme={theme}>
5252
<Stack direction="row" gap={8}>

‎docs/data/material/customization/palette/UsingAugmentColor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ theme = createTheme(theme, {
2121
},
2222
});
2323

24-
export default function Palette() {
24+
export default function UsingAugmentColor() {
2525
return (
2626
<ThemeProvider theme={theme}>
2727
<Stack gap={2} alignItems="center">

‎docs/data/material/customization/palette/UsingAugmentColor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ theme = createTheme(theme, {
3939
},
4040
});
4141

42-
export default function Palette() {
42+
export default function UsingAugmentColor() {
4343
return (
4444
<ThemeProvider theme={theme}>
4545
<Stack gap={2} alignItems="center">

‎docs/data/material/customization/palette/UsingColorObject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const theme = createTheme({
1111
},
1212
});
1313

14-
export default function Palette() {
14+
export default function UsingColorObject() {
1515
return (
1616
<ThemeProvider theme={theme}>
1717
<Stack direction="row" gap={4}>

‎docs/data/material/customization/palette/UsingColorObject.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const theme = createTheme({
1111
},
1212
});
1313

14-
export default function Palette() {
14+
export default function UsingColorObject() {
1515
return (
1616
<ThemeProvider theme={theme}>
1717
<Stack direction="row" gap={4}>

‎docs/data/material/customization/palette/UsingStylesUtils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const theme = createTheme({
2323
},
2424
});
2525

26-
export default function Palette() {
26+
export default function UsingStylesUtils() {
2727
return (
2828
<ThemeProvider theme={theme}>
2929
<Stack gap={2} alignItems="center">

‎docs/data/material/customization/palette/UsingStylesUtils.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const theme = createTheme({
4141
},
4242
});
4343

44-
export default function Palette() {
44+
export default function UsingStylesUtils() {
4545
return (
4646
<ThemeProvider theme={theme}>
4747
<Stack gap={2} alignItems="center">

0 commit comments

Comments
 (0)
Please sign in to comment.