-
Notifications
You must be signed in to change notification settings - Fork 65
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
Cannot change icon color when importing icons from react-icons repository #238
Comments
Noticed this as well. Some but not all icons have |
I am not super familiar with the Accessing Grommet Icons directly allows for changing each icon's color as desired:
|
I was able to style it by adding a CSS class to the icon, i.e.
And in the css:
|
i am using as it is
import * as GrIcons from "react-icons/gr";
<GrIcons.GrAnnounce color="#004aff" size={18} />
The text was updated successfully, but these errors were encountered: