UNPKG

haunted-heroicons

Version:
11 lines (8 loc) 460 B
const { html, component } = require("haunted"); const iconStyle = require("haunted-heroicons/icon"); const style = iconStyle("outline"); function ChevronLeftIcon() { 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 19l-7-7 7-7"/> </svg> `} customElements.define("chevron-left-icon", component(ChevronLeftIcon));