Skip to content

Commit

Permalink
[FlatButton] Fix Icon color prop issue
Browse files Browse the repository at this point in the history
Closes mui#4144
  • Loading branch information
tintin1343 committed May 4, 2016
1 parent 014476d commit 5248948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlatButton/FlatButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class FlatButton extends Component {

if (icon) {
iconCloned = React.cloneElement(icon, {
color: mergedRootStyles.color,
color: icon.props.color,
style: {
verticalAlign: 'middle',
marginLeft: label && labelPosition !== 'before' ? 12 : 0,
Expand Down

0 comments on commit 5248948

Please sign in to comment.