I'm trying to change the color of a material icon inside IconButton material component (an action that should trigger color change - hover over IconButton).
How this could be done? Adding class to the icon directly works only if hover over icon itself and not over IconButton.
My code:
<IconButton className="add-icon-btn" onClick={toggleNominationForm}>
{!showForm ? <AddBoxIcon /> : <IndeterminateCheckBoxIcon /> }
</IconButton>
