import e,{forwardRef as h,useEffect as f}from"react";import p from"classnames";import{injectDigitIconCss as d}from"./utils.mjs";const g=h(({className:a,size:t="1em",strokeWidth:i=0,strokeLinecap:r="butt",strokeLinejoin:o="miter",spin:s=!1,fill:n="currentColor",...c},m)=>{const l=p("digit-icon",a,{"digit-icon-spin":s});return f(()=>{d()},[]),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",className:l,ref:m,width:t,height:t,strokeWidth:i,strokeLinecap:r,strokeLinejoin:o,...c},e.createElement("g",{fill:n},e.createElement("path",{d:"M12 2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1"}),e.createElement("path",{d:"M10.515 4.534a.5.5 0 0 1 0 1h-5a.5.5 0 1 1 0-1zM10.515 7.534a.5.5 0 0 1 0 1h-5a.5.5 0 1 1 0-1zM10.515 10.534a.5.5 0 0 1 0 1h-5a.5.5 0 1 1 0-1z"})))});export{g as default};
