From 524894854d84832fdcc5edc3eca836f6139cc716 Mon Sep 17 00:00:00 2001 From: Nitin Shetty Date: Wed, 4 May 2016 14:31:24 -0500 Subject: [PATCH] [FlatButton] Fix Icon color prop issue Closes callemall/material-ui#4144 --- src/FlatButton/FlatButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FlatButton/FlatButton.js b/src/FlatButton/FlatButton.js index 4b273ce53d1ffb..bd44f8344fd49c 100644 --- a/src/FlatButton/FlatButton.js +++ b/src/FlatButton/FlatButton.js @@ -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,