-
Notifications
You must be signed in to change notification settings - Fork 6
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
List the names of the files as a typescript type #7
Comments
Hi 👋 This feature is not available in the current version. However, I would appreciate your pr! |
I found the same question svg-sprite/svg-sprite#731 |
Hi! Thanks for the link to the discussion on svg-sprite 👍️ I think I will add an option to Based on a quick look at The ideal way The risky way The inefficient way I'll have a look on Monday and try to implement it in the ideal way 🤓️ |
A pull request was created: #8 |
Hello,
Thank you for this wrapper, we're using it to reduce the overhead of using SVG icons in our code.
We'd love to have the name of the symbols inside the sprite.svg as a typescript type. We can then use it to accept a name property in an Icon component (with React, Vue, ...).
I can create a pull request, I just want to make sure this isn't yet possible before writing code :)
The text was updated successfully, but these errors were encountered: