react-native-svg2json
v1.0.1
Published
svg to json
Downloads
1
Readme
react-native-svg2json
将svg文件转换成json文件,用于RN项目使用SVG
安装
npm install react-native-svg2json
使用
// svg2json -i ${inDir} -o ${outFile}
./node_modules/.bin/svg2json -i ./src/icon/icons -o ./src/icon/svgs.js