UNPKG

haunted-heroicons

Version:
11 lines (8 loc) 521 B
const { html, component } = require("haunted"); const iconStyle = require("haunted-heroicons/icon"); const style = iconStyle("outline"); function CalendarIcon() { 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="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/> </svg> `} customElements.define("calendar-icon", component(CalendarIcon));