Open JLefebvre55 opened 3 years ago
just have a components folder, and move the css into the body like so:
const useStyles = makeStyles((theme: Theme) => createStyles({ CLASSNAME: { field: value } }), );
and then inside of your component: const classes = useStyles();
const classes = useStyles();
and then for each element you render use: <Element className={classes.CLASSNAME}>
<Element className={classes.CLASSNAME}>
Although nice job sticking to function components - class components are crimge
the fuck is any of that
just have a components folder, and move the css into the body like so:
and then inside of your component:
const classes = useStyles();
and then for each element you render use:
<Element className={classes.CLASSNAME}>