Hello, campers! I’m using Material UI to build a calculator. This is my first effort at using Material UI in a project. I’m having trouble with Material UI’s makeStyles function. To develop my project, I’m using Visual Studio Code. When I import {makeStyles}, I have a problem…
When I install npm install @mui/styles
It throws an error…
These are the dependencies that are installed.
Please guide. What should I do? Is there any additional dependency that must be installed?
It’s not working with react 18, the version of Material UI you’re using has the requirement for React 17 pinned, so either downgrade React to React 17 (ie install that version) or use a newer version of Material UI
@DanCouper{makeStyles} The net ninja is this video code is fine to follow…
I think this tutorial is using a downgrade version of Material UI. I’m unable to find any tutorial for the latest version of Material UI. I’m reading docs but I’m unable to find some help for applying a custom classes to my buttons…
Please help…
Accept my apologies for disturbing you.