haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 512 B
JavaScript
import { html, component } from "haunted";
import { iconStyle } from "haunted-heroicons/icon.esm";
const style = iconStyle("outline");
function SaveIcon() { 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 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4"/>
</svg>
`}
customElements.define("save-icon", component(SaveIcon));