import{A as r,B as d}from"./zarm.80120c4d.js";import{j as t,F as l,a as c}from"./react.b0bedc10.js";const m="_disabled_1fqzx_1";var b={disabled:m};const p=e=>{const{children:a,type:o,loading:s,onClick:i,...n}=e;return t(l,{children:o==="link"?c("a",{className:s?b.disabled:"",onClick:i,...n,children:[s&&t(r,{style:{marginRight:8}}),a]}):t(d,{onClick:i,...n,loading:s,children:a})})};export{p as C};
