UNPKG

haunted-heroicons

Version:
11 lines (8 loc) 609 B
const { html, component } = require("haunted"); const iconStyle = require("haunted-heroicons/icon"); const style = iconStyle("outline"); function DocumentSearchIcon() { 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="M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z"/> </svg> `} customElements.define("document-search-icon", component(DocumentSearchIcon));