Skip to content
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 displayName to icons #124

Open
penx opened this issue Feb 28, 2022 · 0 comments · May be fixed by #125
Open

Add displayName to icons #124

penx opened this issue Feb 28, 2022 · 0 comments · May be fixed by #125

Comments

@penx
Copy link

penx commented Feb 28, 2022

Please could you add displayName to the generated React icons?

You do this already in Radix Primitives, e.g.

https://github.com/radix-ui/primitives/blob/4ee9d362fcd5e32edbce9f43f1d41f1bf1a015c1/packages/react/accessible-icon/src/AccessibleIcon.tsx#L28

This will help to ensure the name of the icon/component appears in developer tools and documentation generators.

penx added a commit to penx/icons that referenced this issue Feb 28, 2022
@penx penx linked a pull request Feb 28, 2022 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant