import { Option } from '@@/form-components/PortainerSelect'; interface Props { options: Array> | ReadonlyArray>; selectedOption: T; name: string; onOptionChange: (value: T) => void; } export function RadioGroup({ options, selectedOption, name, onOptionChange, }: Props) { return (
{options.map((option) => ( ))}
); }