import { jsx } from 'react/jsx-runtime';
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
import { forwardRef } from 'react';
import styles from './radio.module.css.js';
import { Root as Root2, Item as Item2, Indicator as Indicator$1 } from '../../node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@19.1.7_@types_react@19.1.9__@types_react@1_yjyl3ey5gkh64jtfkrnfa2ve7m/node_modules/@radix-ui/react-radio-group/dist/index.js';

const RadioRoot = forwardRef(({ className, ...props }, ref) => (jsx(Root2, { ref: ref, className: styles.radio, ...props })));
const radioItem = cva(styles.radioitem);
const RadioItem = forwardRef(({ className, ...props }, forwardedRef) => (jsx(Item2, { ...props, ref: forwardedRef, className: radioItem({ className }), children: jsx(Indicator, {}) })));
const indicator = cva(styles.indicator);
const Indicator = forwardRef(({ className, ...props }, ref) => (jsx(Indicator$1, { ref: ref, className: indicator({ className }), ...props })));
Indicator.displayName = Indicator$1.displayName;
const Radio = Object.assign(RadioRoot, {
    Indicator: Indicator,
    Item: RadioItem
});

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