Como usar os nomes de classe
1:import cn from 'classnames'
2:active , pending (props)
3:className={cn(classes.main,{[classes.active]:active,[classes.pending]:pending,})}
Blue Baboon