import{g as e,u as t,ut as n}from"./index-cYnyErBl.js";var r=n();function i({isLoading:n,children:i,disabled:a,...o}){return(0,r.jsxs)(t,{disabled:n||a,...o,children:[n&&(0,r.jsx)(e,{className:`mr-2 h-4 w-4 animate-spin`}),i]})}export{i as t};