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>
Downloads
11
Readme
One React Component: icons
Installation
// with npm
npm install or-icons
// with yarn
yarn add or-icons
How it works
- 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.
Docs
powered by storybook
License
MIT © foryuki