We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234ed06 commit cec28f4Copy full SHA for cec28f4
packages/mui-material/src/Typography/Typography.js
@@ -89,7 +89,7 @@ const transformDeprecatedColors = (color) => {
89
const Typography = React.forwardRef(function Typography(inProps, ref) {
90
const themeProps = useThemeProps({ props: inProps, name: 'MuiTypography' });
91
const color = transformDeprecatedColors(themeProps.color);
92
- const props = extendSxProp({ ...themeProps, color });
+ const props = extendSxProp(themeProps);
93
94
const {
95
align = 'inherit',
0 commit comments