New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change size and color for icon #67
Comments
convert em to pixel and set color for parent el. ex:
|
The size prop only accepts pixels as an integer value. The color prop should work, is it not for you? |
Thanks, I did it |
thanks! |
Easiest way to Change style of icon is using this
|
It works well. Many thanks |
How to set :hover value on react-icons ? |
this increases the size during hover |
it rlly helped :') thk |
Adds a size of 100 and color yellow to the FacebookMessenger icon |
thanks 👍 |
Thanks itz worked |
thank you! |
It worked for me, thanks! |
|
some icons do not accept color so try different one |
Thanks |
Hello, I read document I see this code
<Icon size={30} color='aliceblue' style={{ ... }} />
But I dont understand how to use this, e.x I want to user MdStar with size:2em, color=blue
<MdStar size={2} color="blue">
Is it ? Pls give more code
The text was updated successfully, but these errors were encountered: