haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 610 B
JavaScript
const { html, component } = require("haunted");
const iconStyle = require("haunted-heroicons/icon");
const style = iconStyle("outline");
function BriefcaseIcon() { 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="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
</svg>
`}
customElements.define("briefcase-icon", component(BriefcaseIcon));