svg2react-icon:从SVG原始文件生成React图标组件-源码

上传者: 42144554 | 上传时间: 2021-03-08 20:06:27 | 文件大小: 14KB | 文件类型: ZIP
svg2react-icon 一个从原始SVG图标生成可重用的React Icon组件的库 特征 为每个原始SVG图标文件创建一个React Icon组件文件 重命名非法的SVG属性 优化SVG(删除注释,不必要的部分等) 删除颜色,以便将父级的字体颜色级联到图标 可选-输出TypeScript组件 安装 npm install --save-dev svg2react-icon 样品用法 在你的package.json : { "scripts" : { "build" : "svg2react-icon [options] " , ... } } 或在命令行中: svg2react-icon [options] 默认情况下,将生成的文件为: outputDir

文件下载

资源详情

[{"title":"( 20 个子文件 14KB ) svg2react-icon:从SVG原始文件生成React图标组件-源码","children":[{"title":"svg2react-icon-master","children":[{"title":".nvmrc <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 966B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"svgs","children":[{"title":"test.svg <span style='color:#111;'> 542B </span>","children":null,"spread":false}],"spread":true},{"title":"build-icons.spec.js <span style='color:#111;'> 10.01KB </span>","children":null,"spread":false},{"title":"index.spec.js <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"wallaby.js <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.js <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"build-icons.js <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"svg-optimizer.js <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"svg2component.js <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"parse-params.js <span style='color:#111;'> 720B </span>","children":null,"spread":false}],"spread":true},{"title":"build-once.js <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"settings.json <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"extensions.json <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明