UNPKG

@spectrum-web-components/icon

Version:

`<sp-icon>` renders an icon to the page. By default the `name` attribute will pair with separately registered icon sets to deliver the icons. When not present, `<sp-icon>` will subsequently check for its `src` attribute which could populate the icon via a

6 lines (5 loc) 213 B
"use strict"; import { Icon } from "./src/Icon.dev.js"; import { defineElement } from "@spectrum-web-components/base/src/define-element.js"; defineElement("sp-icon", Icon); //# sourceMappingURL=sp-icon.dev.js.map