UNPKG

haunted-heroicons

Version:
11 lines (8 loc) 587 B
const { html, component } = require("haunted"); const iconStyle = require("haunted-heroicons/icon"); const style = iconStyle("outline"); function CalculatorIcon() { 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="M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"/> </svg> `} customElements.define("calculator-icon", component(CalculatorIcon));