The goal would be to take any svg and dump it into a watched folder, and have a generated react component for use in an app. One possible solution is to use @svgr which does exactly this.
This would involve several pieces
a node script that is run on build/dev and watches a folder for new svgs
also adds the generated <Icon*> components to a dynamic icon story hosting our library
The goal would be to take any svg and dump it into a watched folder, and have a generated react component for use in an app. One possible solution is to use @svgr which does exactly this.
This would involve several pieces
<Icon*>
components to a dynamic icon story hosting our library