import { jsx as _jsx } from "react/jsx-runtime";
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
import React, { useId } from 'react';
const CustomizableRadioGroup = React.forwardRef(({ children, className, id: propId, name, ...props }, ref) => {
    const prefix = useId();
    const id = propId ?? `${prefix}-radio-group`;
    return (_jsx(RadioGroupPrimitive.Root, { className: className, id: id, name: name, ...props, ref: ref, children: children }));
});
CustomizableRadioGroup.displayName = 'CustomizableRadioGroup';
export { CustomizableRadioGroup };
//# sourceMappingURL=customizable-radio-group.js.map