I'm using the Material UI library and I'm trying to import SendIcon by using the import statement:
import { SendIcon } from "@mui/icons-material/Send.js";
I have to include the .js extension because I included "type" : "module" in my package.json file.
However I'm getting the error:
export 'SendIcon' (imported as 'SendIcon') was not found in '@mui/icons-material/Send.js' (possible exports: __esModule, default)
I had installed all the necessary modules for Material UI but I'm not sure why this error is coming up?
Thank you in advance!