import { forwardRef, type InputHTMLAttributes } from 'react';
import { cn } from '@lib/utils/cn';
export interface RadioProps extends Omit, 'type'> {
label?: string;
}
export const Radio = forwardRef(
({ className, label, id, ...props }, ref) => {
const inputId = id ?? `rd-${Math.random().toString(36).slice(2, 8)}`;
return (
);
},
);
Radio.displayName = 'Radio';