import e,{forwardRef as f,useEffect as h}from"react";import d from"classnames";import{injectDigitIconCss as g}from"./utils.mjs";const p=f(({className:i,size:t="1em",strokeWidth:r=0,strokeLinecap:o="butt",strokeLinejoin:n="miter",spin:s=!1,fill:a="currentColor",...l},c)=>{const m=d("digit-icon",i,{"digit-icon-spin":s});return h(()=>{g()},[]),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",className:m,ref:c,width:t,height:t,strokeWidth:r,strokeLinecap:o,strokeLinejoin:n,...l},e.createElement("g",{fill:a,fillRule:"evenodd",transform:"translate(1 1)"},e.createElement("rect",{width:"16",height:"16",opacity:".1",rx:"4"}),e.createElement("path",{fillRule:"nonzero",d:"M12 0a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4zm0 1.08H4A2.92 2.92 0 0 0 1.08 4v8A2.92 2.92 0 0 0 4 14.92h8A2.92 2.92 0 0 0 14.92 12V4A2.92 2.92 0 0 0 12 1.08"}),e.createElement("rect",{width:"8.889",height:"1.333",x:"3.556",y:"7.362",rx:".667"})))});export{p as default};
