-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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
Comments
andrei-shoreline
added
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Mar 1, 2024
andrei-shoreline
changed the title
[material-ui][Alert] Can't set default theme props in 5.15.11
[material-ui][Alert] Can't set Mar 1, 2024
slots
in theme's defaultProps
in 5.15.11
danilo-leal
added
package: material-ui
Specific to @mui/material
component: alert
This is the name of the generic UI component, not the React module!
labels
Mar 1, 2024
1 task
DiegoAndai
removed
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Mar 5, 2024
Hey @andrei-shoreline, thanks for the report. We're working on it 👍🏼 |
The fix should be released on the next version, |
Thank you for the fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: