"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),c=require("../../utils/cn/cn.cjs.js"),e=require("../../src/components/RadioButton/radioButton.module.css"),n=require("../Typography/Typography.cjs.js"),o=({label:a,checked:r=!1,disabled:t=!1,inverted:l=!1,onChange:i})=>s.jsxs("label",{className:c.cn(e.root,r&&e.checked,t&&e.disabled,l&&e.inverted),children:[s.jsx("input",{type:"radio",checked:r,disabled:t,onChange:()=>!t&&(i==null?void 0:i(!r)),className:e.input}),s.jsx("div",{className:e.circle,children:s.jsx("div",{className:e.innerCircle})}),a&&s.jsx(n.Typography,{defaultVariant:"labelMd",className:e.label,children:a})]});exports.RadioButton=o;
