haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 513 B
JavaScript
const { html, component } = require("haunted");
const iconStyle = require("haunted-heroicons/icon");
const style = iconStyle("outline");
function ArchiveIcon() { return html`${style}<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"/>
</svg>
`}
customElements.define("archive-icon", component(ArchiveIcon));