skip to Main Content

Reactjs – How to resolve 'Element type is invalid' error when testing a React component using @mui/icons-material?

I'm facing an issue that I can't figure out how to resolve. i'm trying to test this component: import LabelIconButton from '../LabelIconButton' import { PowerSettingsNew } from '@mui/icons-material' export default function LabelIconButtonDisconnection() { return <LabelIconButton title="déconnexion" icon={PowerSettingsNew} /> } With…

VIEW QUESTION
Back To Top
Search