import { forwardRef } from "react"; /** * Radio * * size: "lg" | "xl" | (default) * label: string | ReactNode - visible label; omit for standalone input * labelHidden: boolean - visually hide label while keeping it accessible */ const Radio = forwardRef(function Radio( { size, label, labelHidden = false, className = "", ...props }, ref ) { const inputClasses = [ "prs-radio", size === "lg" && "prs-radio-lg", size === "xl" && "prs-radio-xl", className, ] .filter(Boolean) .join(" "); const input = ; if (!label) return input; return ( ); }); export default Radio;