'use client'; interface RadioOpt { value: T; label: string; } interface RadioGrpProps { name: string; options: RadioOpt[]; value: T; onChange: (val: T) => void; } export default function RadioGroup({ name, options, value, onChange }: RadioGrpProps) { return (
{options.map((opt) => ( ))}
); }