@rogal/react-builder-svg-icons
v1.0.0-beta.2
Published
React Svg Builder Icons
Downloads
3
Readme
react-builder-svg-icons
Converts your SVG files into React Components
Features:
- Cli to automate the building of svg to React Components
- It gives us an Icon React Component
- It generates constants dynamically
Installation
$ npm i --save-dev @rogal/react-builder-svg-icons
Usage
You only need to add the icon to svg folder
Expected folder structure
A svg
folder with all the .svg
files to be converted inside
Output
A dist
folder with the generated components will be created/overridden
Template
Check out the component template in order to check its features here