Closed
Description
Related page
https://mui.com/material-ui/react-badge/
Kind of issue
Broken demo
Issue description
It seems like demos that imports @mui/icons-material/*
are broken when run in StackBlitz (though they don't in codesandbox). Might have something to do with how things are exported on "@mui/icons-material": "7.0.2"
and how StackBlitz imports them, because the demos work fine if I downgrade the icons-material to 7.0.1 (in StackBlitz).
Steps to reproduce:
- Open one of these
- https://mui.com/material-ui/react-badge/#basic-badge
- https://mui.com/material-ui/react-button/#buttons-with-icons-and-label
- https://mui.com/material-ui/react-floating-action-button/#basic-fab
- *basically anything that imports icons from
@mui/icons-material
- Click on the Edit in StackBlitz icon
Context
Might be a minor issue, but if somebody uses a very similar environment to StackBlitz, they might run into the same issue
Search keywords: Import error, can't find file: ./utils/createSvgIcon