Material-UI Accordion (formerly ExpansionTable) component won't import
ExpansionPanel has been renamed to Accordion . With your error, it looks like you are using material-ui-core version 4.10.2
(or below).
Use material-ui-core version 4.11.0
or higher.
Working demo of your code in codesandbox
Install Material UI Core
npm i @material-ui/core
So , it will be @material-ui/[email protected]
Then, its working. Have fun!!