UNPKG

haunted-heroicons

Version:
11 lines (8 loc) 541 B
const { html, component } = require("haunted"); const iconStyle = require("haunted-heroicons/icon"); const style = iconStyle("outline"); function DocumentIcon() { 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="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"/> </svg> `} customElements.define("document-icon", component(DocumentIcon));