// with npm
npm install or-icons
// with yarn
yarn add or-icons
- 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.
powered by storybook
MIT © foryuki
