@itwin/itwinui-icons-elements
Version:
Exports svgs from @itwin/itwinui-icons as custom elements
8 lines • 991 B
JavaScript
export class SvgHand 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="M5.082 10.22C4.999 10.44.726 6.488.024 8.638c-.156.476.458.18 1.653 1.283a14.5 14.5 0 011.792 2.605c.802 1.148 3.942 5.073 8.22 2.756 0 0 1.898-1.127 2.086-5.812.019-.475 1.213-5.447 1.213-5.447s.138-1.016-.535-1.21a1.143 1.143 0 00-1.29.785c-.01.013-.86 4.116-.89 4.212s-.221.207-.216-.084c.007-.44.224-5.456.224-5.456s.104-1.19-.593-1.27c-.685-.08-.86.434-.99.915s-.428 4.882-.428 5.1-.389.511-.419-.07-.119-5.854-.119-5.854S9.732 0 8.73 0a1.049 1.049 0 00-.9 1.073s.11 5.557.11 5.71c0 .302-.419.642-.598.09s-.776-4.542-.776-4.542c-.114-.433-.536-.975-.982-.93-.455.047-.718.64-.681 1.194 0 0 .61 5.496.617 5.782a4.306 4.306 0 01-.438 1.844z"/></svg>`;
}
}
customElements.define('svg-hand', SvgHand);
export default SvgHand;