You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
danilo-leal
changed the title
MUI Icons-Material Icons do not support Joy UI's "danger" color property
[icons] Material Icons do not support Joy UI's "danger" color prop
May 22, 2024
Heya @NaveenEdala, thanks for the issue! I see that's an issue, but I'd expect to have some way to map Joy's danger prop to Material's error prop instead of the Material Icons package, also accounting for something that's not Material Design. @siriwatknp any ideas there? I'm not sure we should focus on this too much, too, though.
Steps to reproduce
Link to live example:
Steps:
Current behavior
Type '"danger"' is not assignable to type '"primary" | "success" | "warning" | "disabled" | "action" | "inherit" | "secondary" | "error" | "info" | undefined'.
Expected behavior
Expected behavior is for the icon to inherit the red "danger" color, as is the case with all Joy components.
Context
I'm trying to use it to create simple label strings (in )
Your environment
npx @mui/envinfo
Search keywords: Icons, Icons-Material, Joy UI, Danger
The text was updated successfully, but these errors were encountered: