svg-icons-to-react-native
v0.2.5
Published
Convert svg files to React class for use this files in you ReactNative project.
Downloads
5
Readme
svg-icons-to-react-native
Convert you svg files (exporting from AdobeXD) to ReactNative components.
Installation
npm install -g svg-icons-to-react-native
Steps work scripts:
- Clean svg;
- add width and height from viewBox;
- convert to miniSvg;
- Convert to React Native component.
This is beta version script. Please create ISSUE, if you find bag.
Example
To run the script go to the folder with you svg files and run command in console - svg-icons-to-react-native