Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Latest commit

 

History

History
62 lines (44 loc) · 1.61 KB

README.md

File metadata and controls

62 lines (44 loc) · 1.61 KB

!The repo has been migrated to webster

IconStore

Publish

For publishing new version, merge new svgs to main branch and increase the version.
We already have prepublishOnly command setup to pack the package for you.

MI Icons

Filter and copy material icons from Google's official npm package. (Only if you need to update the material icons)

node scripts/generateMaterialIcons.js

Folder Structure


.
├── mi                       // minified material svg's react components
├── custom                   // minified custom svg's react components
└── types.d.ts               // exports react component type  
│ 
├── svgs
│   ├── mi
│   └── custom
│ 
├── scripts
│   ├── generateMaterialIcons.js  // Script to copy and filter material icons from google's github repo
│   ├── generateTypes.js          // Script to generate type for babel transformed svg component's js file
│   ├── compileComponent.js       // Script to transform and minify JS modules code for shipping
│   └── helpers
│       ├── template.js           // Custom template for our generated React components
│       └── utils.js              // General utility function
│ 
├── material-design-icons         // cloned material design repo
├── .svgrc.js                     // svgrc config file
├── package.json
├── README.md
└── .gitignore

License

MIT


This package is customized for use in Groww projects. Use at your own risk.