<GlobalStyles />
Sometimes you might want to insert global css. You can use the <GlobalStyles />
component to do this.
It's styles
(with an s) prop should be of same type as the css()
function argument or you can use string interpolation (see below).
Use string interpolation, for example to import font face:
Is there a reason to use this instead of import GlobalStyles from "@mui/material/GlobalStyles";?
No
Last updated