1.0.0 • Published 6 years ago

flat-color-icons-loader v1.0.0

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
6 years ago

Icons8 Flat Color icons loader

It is not an official Icons8 library.

Installation

npm install flat-color-icons-loader

Usage

get(iconName) - builds up file:// URL to the element in the flat-color-icons package so that you can use it in <img/> tag.

Example

const icons8 = require("flat-color-icons-loader");

document.getElementByID("myIcon").src = icons8.get("shop");