[material-ui] defaultProps ignored when using theme scoping #44334
Labels
customization: theme
Centered around the theming features
package: material-ui
Specific to @mui/material
regression
A bug, but worse
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/x7mc5q
Current behavior
Button renders as size medium by default
Expected behavior
Button should render as size small, since no size was specified
Context
No response
Your environment
npx @mui/envinfo
Search keywords: theme defaultProps scoping
The text was updated successfully, but these errors were encountered: