I am migrating my withStyles components to the makeStyles hook.
withStyles
makeStyles
I have common classes in a separare file, which is pretty straightforward: