@eightshapes/esds-icon
v0.5.2
Published
Install using npm: ``` npm install @eightshapes/esds-icon ```
Readme
ESDS Icon
Install using npm:
npm install @eightshapes/esds-iconOutputs
The package contains:
/dist/esds-icon-web-component.js
ES6 compatible web component definition for<esds-icon>./dist/esds-icon-web-component-legacy.js
ES5 compatible web component definition for<esds-icon>. (IE11) Compatible with ES5 browsers (IE11)./dist/EsdsIcon.js
ES6 module that exports anEsdsIconLit Element class. Use to define your own custom element tag:
import { EsdsIcon } from '@eightshapes/esds-icon/dist/EsdsIcon.js';
customElements.define('aliased-icon', EsdsIcon);
// Creates <aliased-icon> tagRunning the dev environment locally
Refer to the ESDS Component Readme
