When trying to display an imported MUI icon I get the following errors:
Errors
My Code
import React from 'react' import ThreeDRotation from '@mui/icons-material/ThreeDRotation'; export const Temp = () => { return ( <div> <ThreeDRotation /> </div> ) }
I think maybe you using the wrong import, you can try like this:
import ThreeDRotation from '@mui/material/ThreeDRotation';
, you can try this: