[material-ui][SvgIcon] Can't add a custom color #41086
Labels
component: SvgIcon
The React component.
package: material-ui
Specific to @mui/material
support: question
Community support but can be turned into an improvement
typescript
Steps to reproduce
Hi I am not sure what I am doing wrong but when I try to add a new color in palette I can use the instructions in documentation to define new module augmentation for most of the components to make new color available but for some reason for SvgIcon it doesn't make any difference
https://mui.com/material-ui/customization/palette/#typescript
Current behavior
defining module augmentation for new palette color does not affect on SvgIcon color definitions.
Expected behavior
It should work the same way other components as described in documentation.
Context
No response
Your environment
npx @mui/envinfo
tdconfig.json
Search keywords: SvgIconOwnPropsColorOverrides
The text was updated successfully, but these errors were encountered: