import React, { ComponentProps } from 'react'; import { Radio as AntRadio } from 'antd'; type RadioProps = Omit, 'onChange'> & { /** Handle change. First argument is the incoming `value`. */ onChange?: ((value: string) => void) | null; /** Arrange items vertically instead of inline. */ vertical?: boolean; }; /** * Props are the same as Ant's RadioGroup https://ant.design/components/radio/#RadioGroup * with the addition of `vertical` and a slightly modified `onChange`. */ declare const Radio: (props: RadioProps) => React.ReactNode; export default Radio;