0.2.5 • Published 6 years ago

svg-icons-to-react-native v0.2.5

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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: 1) Clean svg; 2) add width and height from viewBox; 3) convert to miniSvg; 4) 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 

Licence MIT.