bluettipower-icons
v0.0.6
Published
- svgo: short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. - svgr: SVGR is an universal tool to transform SVG into React components.
Downloads
75
Readme
Bluetti Icons
Dependencies
- svgo: short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files.
- svgr: SVGR is an universal tool to transform SVG into React components.
Add SVG-Icons To React-Component
- New floder
/svg
&/svgrz
and move svg-icons to/svg
. - Rename your icon name.(Capitalize first letter)
- Run script
npm run opsvg
||pnpm opsvg
||yarn run opsvg
- You will find your icons in the
/src/components/svgicons
folder. Verify and move them to/src/components/icons
. - Remember to delete the *.svg of the
/svg
andsvgrz