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.
2 parents 8f83cd0 + 1314ab6 commit 5abbba3Copy full SHA for 5abbba3
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