We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014476d commit c9c6d99Copy full SHA for c9c6d99
1 file changed
src/FlatButton/FlatButton.js
@@ -221,7 +221,7 @@ class FlatButton extends Component {
221
222
if (icon) {
223
iconCloned = React.cloneElement(icon, {
224
- color: mergedRootStyles.color,
+ color: icon.props.color || mergedRootStyles.color,
225
style: {
226
verticalAlign: 'middle',
227
marginLeft: label && labelPosition !== 'before' ? 12 : 0,
0 commit comments