import{n as e}from"./chunk-DrgAwqJ9.js";import{n as t,t as n}from"./jsx-runtime-C3uB2UIS.js";var r=n(),i=(0,e(t(),1).forwardRef)(function({as:e,children:t,className:n,disabled:i,...a},o){let s=e||`button`,{onClick:c,onSubmit:l,onPointerDown:u,onPointerUp:d,onKeyDown:f,onKeyUp:p,onKeyPress:m,...h}=a,g=i?{}:{onClick:c,onSubmit:l,onPointerDown:u,onPointerUp:d,onKeyDown:f,onKeyUp:p,onKeyPress:m};return(0,r.jsx)(s,{ref:o,className:n,role:e===`a`?`link`:`button`,tabIndex:0,"aria-disabled":i,...h,...g,children:t})});export{i as t};
//# sourceMappingURL=UnstyledButton-BprPCIHx.js.map