1.4.1 • Published 7 years ago
or-icons v1.4.1
One React Component: icons
Installation
// with npm
npm install or-icons
// with yarn
yarn add or-iconsHow it works
- Put your
sample.svgfile in thesrc/assetsdirectory. - After excuting the command
npm run convert,Sample.tsxfile will be generated in the src/icons directory. - Excute
npm run getIndex, and all the svg components will be exported. - Excute
npm run build, now you can use your svg components in theexamplesdirectory and other projects.
Docs
powered by storybook
License
MIT © foryuki