Skip to content

Commit b05b1f0

Browse files
committed
Mui button not capitalized
1 parent 62da4f1 commit b05b1f0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/mui.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,16 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
174174
"0px 8px 10px -7px rgba(0,0,0,0.07)",
175175
...rest
176176
]);
177-
})()
177+
})(),
178+
"components": {
179+
"MuiButton": {
180+
"styleOverrides": {
181+
"root": {
182+
"textTransform": "unset"
183+
}
184+
}
185+
}
186+
}
178187
});
179188

180189
return muiTheme;

test/integration/next/pages/mui.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ const { RecipeReviewCard } = (() => {
700700
}
701701

702702
const ExpandMore = styled((props: ExpandMoreProps) => {
703+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
703704
const { expand, ...other } = props;
704705
return <IconButton {...other} />;
705706
})(({ theme, expand }) => ({

0 commit comments

Comments
 (0)