@coderebus/svg

1.3.1 • Public • Published

SVG

All the svg files will be optimized using SVGO, converted into react components using SVGR and will be saved inside components folder. The original svgs will remain unaltered inside the assets folder.

All the components can be used through named import. Tree shaking feature is enabled in the package.

Usage

  • Add all your svgs inside assets folder.
  • Run the command transform to get the corresponding react components.
  • Alternatively, you can simply run the command build to transform and build the components.

Readme

Keywords

none

Package Sidebar

Install

npm i @coderebus/svg

Weekly Downloads

4

Version

1.3.1

License

MIT

Unpacked Size

102 kB

Total Files

6

Last publish

Collaborators

  • coderebus