haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 539 B
JavaScript
import { html, component } from "haunted";
import { iconStyle } from "haunted-heroicons/icon.esm";
const style = iconStyle("outline");
function TicketIcon() { 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="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"/>
</svg>
`}
customElements.define("ticket-icon", component(TicketIcon));