In my project, I have implemented CSS modules which allow me to use multiple classes.
The variable open
is a boolean that determines whether or not the Paper should shift.
<Paper className={`${classes.paper} ${open && classes.paperShift}`}>
Question: Why are we using multiple classes, and how do they affect the rendering of elements?
As a reference, I checked out this discussion: using css modules how do I define more than one style name