UNPKG

react-admin-component

Version:
15 lines (14 loc) 524 B
/// <reference types="react" /> import { FormBaseProps } from '../form-input'; import { FormProps } from 'antd/lib/form'; import { RadioChangeEvent } from 'antd/lib/radio'; interface IRadioOption { key: string; value: string; } interface FormRadioProps extends FormBaseProps, Omit<FormProps, 'onChange'> { options: IRadioOption[]; onChange?: (e: RadioChangeEvent) => void; } declare const FormRadio: (props: Partial<HTMLInputElement> & FormRadioProps) => JSX.Element; export default FormRadio;