I'm using React and styling some icons. I'm using the Material-UI library for my components. One of the components I'm using is the FontIcon . It already has a className on it, and I'm not able to override with my passed in aphrodite style.
<FontIcon className="material-icons">
bug_report
</FontIcon>
If I set the style on this control, it works fine:
<FontIcon className="material-icons" style={{ color: 'red' }}>
bug_report
</FontIcon>
How can you over-write an existing className? I've tried:
className={css(['material-icons', styles.colorize])}
className={css('material-icons', styles.colorize)}
className={('material-icons', css(styles.colorize))}
Thanks!