on-internet
← Community

How to change fill color for React icons?

Stack Overflow ·

I want to change the color of React-icons. Say, for example {AiFillHeart} icon. I want to change its fill color to red. How can I do this? I have tried <AiFillHeart style = {{color: 'red'}}/>. But it does not works.

Comments

Sign in or sign up to comment and upvote.

No comments yet.