// with npm
npm install or-icons
// with yarn
yarn add or-icons
- Put your
sample.svg
file in thesrc/assets
directory. - After excuting the command
npm run convert
,Sample.tsx
file 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 theexamples
directory and other projects.
powered by storybook
MIT © foryuki