Closed stevecode21 closed 3 years ago
You can add attribute fill
, use like this
import IconInstagram from '../icon/instagram.svg';
...
<IconInstagram fill="red" />
That's indeed how you do it :) All props will be passed down to the svg element.
Is it possible to change the color(fill) of a SVG in this package?