@eightshapes/esds-icon
v0.5.2
Published
Install using npm: ``` npm install @eightshapes/esds-icon ```
Downloads
31
Readme
ESDS Icon
Install using npm:
npm install @eightshapes/esds-icon
Outputs
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 anEsdsIcon
Lit 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> tag
Running the dev environment locally
Refer to the ESDS Component Readme