@wfp/icons-core
Version:
Themes for un core
20 lines (12 loc) • 400 B
Markdown
## icons-core
This tool generates a optimized icon library from a folder of svg files using [svgo](https://github.com/svg/svgo) and [react-svgr](https://react-svgr.com/).
### Usage with cmd
### Usage with node.js
```js
const iconGenerator = require("@wfp/icons-core");
iconGenerator({ src: "/folder", output: "/outputFolder" });
```
#### Structure
- index.js
- files/[name].js
- metadata.json