[CODEMOD] v6.0.0/sx-prop does not work on Typography color prop if the component is imported with path import #43983
Labels
package: codemod
Specific to @mui/codemod
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
Link to live example: (required)
Steps:
Output:
Output:
Current behavior
Color prop is ignored but other system props are converted when a path import is used. When a named import is used it works correctly.
Expected behavior
Codemod should behave the same for both named and path imports
Context
No response
Your environment
npx @mui/envinfo
Search keywords: v6.0.0/sx-prop codemod
The text was updated successfully, but these errors were encountered: