0.0.3 • Published 4 years ago
meta-icons v0.0.3
meta-icons
Meta icons is an open-source icons package
Installation
npm install meta-icons
// or
yarn add meta-icons
Then replace icons
import { replace } from "meta-icons";
replace({
width: 200,
height: 200,
color: "blue",
"stroke-width": 2,
});
Building Locally
You need to build the icons first. (Can only be done initially and whenever the icons change.)
To do that:
npm run build:icons
After that you can run rollup build:
npm run build
Note: By default rollup will watch your changes. To remove that, remove the --watch
flag from the build:icons
script.
Then you can run it locally.
npm start