or-icons
v1.4.1
Published
<p align="center"><img width="150" src="https://cdn.rawgit.com/one-react/assets/master/logo%402x.png" alt="logo"></p>
Readme
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
