When attempting to apply !important
to the fill property of an SVG file, I'm encountering issues with the syntax. Despite my efforts, the !important
directive is not being correctly applied to the fill property, resulting in the circle
element rendering in black color.
I'm curious about how to properly use !important
on the fill property of an SVG within a React environment.
<circle className="cls-1" cx="84.194" cy="83.49" r="83.48" style={{fill:'url(\'#linear-gradient\') !important', strokeWidth:'0px'}} />