I need to use key frames animation with 
CodePudding user response:
Ah, I was importing the wrong module, it needed to be imported from import { styled } from "@mui/material/styles"; and not import { styled } from "@mui/styles"; . My bad. I still hope this helps somebody out there.

