[Chip] Component crashes when trying to use a custom color from the theme #32926
Closed
2 tasks done
Labels
bug 馃悰
Something doesn't work
component: chip
This is the name of the generic UI component, not the React module!
Duplicates
Latest version
Current behavior 馃槸
When settings custom colors in the theme through module augmentation, those colors make the Chip component fail at runtime with the following backtrace:
Expected behavior 馃
The Chip component should use the custom colors without issues.
Steps to reproduce 馃暪
Check this sandbox
The TextField included in the sandbox is just to show that the same approach applied in the theme.tsx file to add a custom color in the theme works just fine for that component.
If you uncomment the line with the Chip in it, you will see the error popping out.
Context 馃敠
No response
Your environment 馃寧
No response
The text was updated successfully, but these errors were encountered: