[material-ui][Alert] Can't set slots
in theme's defaultProps
in 5.15.11
#41322
Labels
component: alert
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
regression
A bug, but worse
Steps to reproduce
Steps:
createTheme
MuiAlert
component:Current behavior
TypeScript gives the following error:
Expected behavior
It shouldn't throw an error and it should work the same as in the previous
5.15.10
version.Context
In our application we customised the default
theme
using thecreateTheme
utility.Your environment
npx @mui/envinfo
Search keywords: Alert, slots, 5.15.11
The text was updated successfully, but these errors were encountered: