A few days ago I saw a question in StackOverflow about how to change an SVG image's color. So I want to share a small tip to do it without the need...
For further actions, you may consider blocking this person and/or reporting abuse
Great stuff ! But what do we do if we have multiple colors in the svg , and would to change them all based on the themes chosen (primary /secondary colors) ? I think this can be used only with Single color SVG ?
Exactly. I want to change the colors of my SVG to red, green and grey on the basis of some conditions.
How can I achieve that?
Thanks a lot for a meaningful article.
Wow if only I had known this sooner... Thanks a billion
Great!!!
Dude. Amazing stuff. Thanks
It works with the 'stroke-width' too. Thank you.
Great!
can you explain about first line import { ReactComponent as Logo } ?
Great article, thank you!
❤️
Thanks bro
انقذت حياتي ههه
Interesting. It is what I was looking for about yesterday for my next mini project. Good explanation!
/Chaykov
Clean and simple solution. Thanks a ton!