@santhosh2004/my-icons-lib
v1.0.14
Published
Production-ready React SVG icons library (example).
Readme
my-icons-lib
Production-ready React SVG icons library (example).
Usage
- Install peer dependency
react. - Build the library:
npm run build - Import icons:
import { ExampleHome } from "my-icons-lib";
<ExampleHome width={24} height={24} fill="currentColor" />Development
- Put your SVG files in
src/icons/ - Run
npm run iconsto generate React components insrc/__generated__/ - Then run
npm run buildto producedist/
