All I want is a fill color. The source file is #000, therefore no fill is specified in the svg code.
Here's the JSX:
import dashboardIcon from '../../images/icons/Dashboard-Icon.svg'
<object className={classes.navIcon} type="image/svg+xml" data={dashboardIcon}
alt='' />
And the JSS:
navIcon: {
width: '24px',
paddingRight: '10px',
fill: '#F7F7F7'
}
Thank you so much!