UNPKG

@itwin/itwinui-icons-elements

Version:

Exports svgs from @itwin/itwinui-icons as custom elements

8 lines 813 B
export class SvgTextSmall 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 4.295A.29.29 0 014.283 4h6.436a.29.29 0 01.283.295v1.407c0 .163-.085.296-.19.296s-.24-.122-.302-.27l-.245-.472a.472.472 0 00-.397-.27H8.225a.29.29 0 00-.283.296v5.634a.421.421 0 00.271.38l1.121.186a.372.372 0 01.271.302.258.258 0 01-.283.216H5.68a.258.258 0 01-.283-.217.372.372 0 01.271-.302l1.043-.186a.421.421 0 00.271-.38V5.28a.29.29 0 00-.282-.296H5.135a.472.472 0 00-.397.271l-.245.472c-.063.149-.199.271-.303.271S4 5.864 4 5.702V4.295"/></svg>`; } } customElements.define('svg-text-small', SvgTextSmall); export default SvgTextSmall;