-
Notifications
You must be signed in to change notification settings - Fork 828
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
Add icon-specific className to React default props #453
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/primer/octicons/4pCMWDx4tp5mFvQM2KZ99fymbfmF |
I think this makes sense since by default it also has the |
@colebemis @ashygee Could you please have a quick look at this PR? |
@FloEdelmann Thanks for this and sorry for the delay! I've assigned this to @colebemis and we'll review this week. Apologies for not seeing this sooner. |
@colebemis Sorry to bother you again, but given this is literally only one changed line, I don't understand why you still didn't review. Having that extra class name would be really helpful, e.g. in refined-github/refined-github#3227. |
No rush Flo 🤗 |
@colebemis friendly bump |
@colebemis @ashygee its almost 7 months since this PR has been opened and 3 releases. Any chance this can be reviewed? |
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.
Looks great! Sorry for the delay.
We'll ship this in our next release.
In GitHub, all the icons have a class
octicon-${key}
, e.g.octicon-arrow-both
for theArrowBothIcon
. This PR adds this class to the React components' default props: