import { j as jsxRuntimeExports } from '../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
import { Root as $f99a8c78507165f7$export$be92b6f5f03c0fe9, Item as $f99a8c78507165f7$export$6d08773d2e66f8f2, Indicator as $f99a8c78507165f7$export$adb584737d712b70 } from '../node_modules/.pnpm/@radix-ui_react-radio-group@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._cfce25imgs2fusayjymjkynvpu/node_modules/@radix-ui/react-radio-group/dist/index.js';
import { cva } from '../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.js';
import { forwardRef } from 'react';
import styles from './radio.module.css.js';

const RedioRoot = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($f99a8c78507165f7$export$be92b6f5f03c0fe9, { ref: ref, className: styles.radio, ...props })));
const radioItem = cva(styles.radioitem, {
    variants: {
        size: {
            small: styles["radioitem-small"],
            medium: styles["radioitem-medium"],
        },
    },
    defaultVariants: {
        size: "small",
    },
});
const RadioItem = forwardRef(({ className, size, ...props }, forwardedRef) => (jsxRuntimeExports.jsx($f99a8c78507165f7$export$6d08773d2e66f8f2, { ...props, ref: forwardedRef, className: radioItem({ size, className }), children: jsxRuntimeExports.jsx(Indicator, {}) })));
const indicator = cva(styles.indicator);
const Indicator = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($f99a8c78507165f7$export$adb584737d712b70, { ref: ref, className: indicator({ className }), ...props })));
Indicator.displayName = $f99a8c78507165f7$export$adb584737d712b70.displayName;
const Radio = Object.assign(RedioRoot, {
    Indicator: Indicator,
    Item: RadioItem,
});

export { Radio, RadioItem };
//# sourceMappingURL=radio.js.map
