import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
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@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.js';

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

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