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 8f83cd0 commit 1314ab6Copy full SHA for 1314ab6
1 file changed
src/SvgIcon/SvgIcon.js
@@ -79,10 +79,7 @@ class SvgIcon extends Component {
79
prepareStyles,
80
} = this.context.muiTheme;
81
82
- const offColor = color ? color :
83
- style && style.fill ? style.fill :
84
- 'currentColor';
85
-
+ const offColor = color ? color : 'currentColor';
86
const onColor = hoverColor ? hoverColor : offColor;
87
88
const mergedStyles = Object.assign({
0 commit comments