Skip to content

Commit cec28f4

Browse files
committed
Typography: allow overriding system props with styleOverrides
1 parent 234ed06 commit cec28f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mui-material/src/Typography/Typography.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const transformDeprecatedColors = (color) => {
8989
const Typography = React.forwardRef(function Typography(inProps, ref) {
9090
const themeProps = useThemeProps({ props: inProps, name: 'MuiTypography' });
9191
const color = transformDeprecatedColors(themeProps.color);
92-
const props = extendSxProp({ ...themeProps, color });
92+
const props = extendSxProp(themeProps);
9393

9494
const {
9595
align = 'inherit',

0 commit comments

Comments
 (0)