svg-to-component-cli
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

中文 | English

npm

功能:

  • 将SVG文件转换成React组件文件。

  • 在浏览器中预览SVG文件,并提供颜色选项,以生成React组件的使用代码。

    • image

安装

NPM

npm add svg-to-component-cli

使用

  • 将SVG文件转换成React组件文件
> npm svg-to-component parse ./my-svg-files-path
  • 预览SVG文件
> npm svg-to-component preview ./my-svg-files-path

API

npm svg-to-component -h

Package Sidebar

Install

npm i svg-to-component-cli

Weekly Downloads

2

Version

1.3.1

License

none

Unpacked Size

18.1 kB

Total Files

18

Last publish

Collaborators

  • taoliujun