import { a } from './chunk-TWGPE4V7.js';
import { cx } from '@onbeam/styled-system/css';
import { radioButton } from '@onbeam/styled-system/recipes';
import { jsxs, jsx } from 'react/jsx-runtime';

var i=a(({children:s,className:p,disabled:a,readOnly:t,hasError:m=!1,...d},l)=>{let o=radioButton();return jsxs("label",{className:cx(o.root,p),"aria-disabled":a,"aria-readonly":t,"data-error":m,children:[jsx("input",{type:"radio",ref:l,...d,disabled:a,readOnly:t,className:cx("peer",o.input)}),jsx("span",{className:o.text,children:s})]})});i.displayName="RadioButton";

export { i as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-5UT5R2EJ.js.map