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 75e2fd9 commit 2103d41Copy full SHA for 2103d41
1 file changed
src/SvgIcon/SvgIcon.js
@@ -81,11 +81,13 @@ class SvgIcon extends Component {
81
82
const offColor = color ? color :
83
style && style.fill ? style.fill :
84
- baseTheme.palette.textColor;
+ 'currentColor';
85
+
86
const onColor = hoverColor ? hoverColor : offColor;
87
88
const mergedStyles = Object.assign({
89
display: 'inline-block',
90
+ color: baseTheme.palette.textColor,
91
fill: this.state.hovered ? onColor : offColor,
92
height: 24,
93
width: 24,
0 commit comments