-
Notifications
You must be signed in to change notification settings - Fork 834
[React] Add fill prop #551
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
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/primer/octicons/H8en25ojRNdW1xiR1ECvajub1oe2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly want to know what others think about adding fill. Does this mean someone will be able to color the icon with fill and with color props?
@jonrohan Our components don't currently accept a |
Problem
Our octicon components don't provide a way to change the
fill
attribute of the underlying SVG.Solution
This PR adds a fill prop to all octicon components. @macno originally implemented this in #418 but merge conflicts made that PR difficult to merge.
Co-authored-by: @macno