-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: export types for icon names #1761
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
does this pr fix this #1760, and update the glyphmaps file |
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.
Hi,
there's a more direct way to obtain the icon names, as noted in review.
Thank you :)
packages/generator-react-native-vector-icons/src/app/templates/src/index.ts
Outdated
Show resolved
Hide resolved
@vonovak thanks! |
0d3ea46
to
d0acc50
Compare
Instead of doing This is just a suggestion as the types exported are still not useful if we are creating a reusable component which renders the icon by accepting the icon name as prop to that component. In this case |
hello,
Those are the same thing. They are equivalent. Not sure I understand what you have in mind? |
@vonovak What I mean is, with the current implementation i.e
This error goes away when I do |
@abitling master has a fix and new release coming shortly |
No description provided.