DEV Community

loading...

Discussion on: How to create an extremely reusable Icon component with react-svg

Collapse
vtrpldn profile image
Vitor Paladini Author

Hey, Jordan. I'm assuming in this article that the reader is already working on a React environment, but your comment made me realize that I should have made that more clear. Thanks for the feedback!

By no means anyone should import React exclusively to create a single icon component, you're absolutely right about that. But in the React context, I'd say these Icons are indeed very much reusable.

Forem Open with the Forem app