import t,{forwardRef as f,useEffect as d}from"react";import p from"classnames";import{injectDigitIconCss as g}from"./utils.mjs";const h=f(({className:i,size:e="1em",strokeWidth:o=0,strokeLinecap:r="butt",strokeLinejoin:s="miter",spin:a=!1,fill:n="currentColor",...l},m)=>{const c=p("digit-icon",i,{"digit-icon-spin":a});return d(()=>{g()},[]),t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",className:c,ref:m,width:e,height:e,strokeWidth:o,strokeLinecap:r,strokeLinejoin:s,...l},t.createElement("path",{fill:n,fillRule:"evenodd",d:"M13 0a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3zm.494 4.832a1 1 0 0 0-1.414-.002L8.215 8.678 6.49 6.816l-.762-.823-.73.852-2.473 2.887a1 1 0 0 0 .109 1.41l.1.075a1 1 0 0 0 1.31-.184l1.742-2.035 1.67 1.8.704.76.734-.731 4.598-4.58a1 1 0 0 0 .003-1.415"}))});export{h as default};
