import{r as f,v as j,j as s,x as m,y as I,C as p}from"./index-Csef3-wA.js";import{I as B}from"./Icon-o1TUwOIX.js";const z=f.forwardRef(function({square:e=!1,name:o="",children:c=null,iconProps:n={},disabled:l=!1,loading:r=!1,...t},u){const{square:i,circularProgress:x,...a}=j(t);return s.jsxs(m,{...t,disabled:l||r,classes:{...a,root:I(a.root,{[i]:e})},ref:u,children:[!!o&&s.jsx(B,{name:o,size:24,...n})||c,r&&s.jsx(p,{size:25,classes:{root:x}})]})});export{z as I};