@itwin/itwinui-icons-elements
Version:
Exports svgs from @itwin/itwinui-icons as custom elements
8 lines • 758 B
JavaScript
export class SvgAttach extends HTMLElement {
constructor() { super(); }
connectedCallback() {
this.innerHTML = `<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="var(--iui-color-icon-muted, currentColor)"><path d="M4 16c-1 0-2-.5-2.7-1.2-1.8-1.7-1.7-4 .4-5.9l8.3-8c.4-.4 1-.7 1.6-.9.9-.2 1.8.1 2.5.8.7.6 1 1.5.9 2.3-.1.6-.4 1.2-.9 1.7l-8.3 8c-.4.4-.9.7-1.5.8-.5 0-1-.2-1.3-.6-.3-.3-1.1-1.3.3-2.6l8.3-8 .8.8-8.3 8c-.7.7-.4 1-.3 1.1.1.2.3.2.5.3.3-.1.6-.2.8-.4l8.3-8c.3-.3.5-.7.6-1.1.1-.5-.2-1.1-.6-1.4-.4-.4-.9-.6-1.5-.5-.4.1-.8.3-1.1.5l-8.3 8c-1.1 1-2.1 2.7-.4 4.3s3.4.7 4.5-.4l7.2-6.9.8.8-7.2 7c-.9.9-2.1 1.4-3.4 1.5"/></svg>`;
}
}
customElements.define('svg-attach', SvgAttach);
export default SvgAttach;