Update FormItem typescript definition (#17703)

This commit is contained in:
jeessy2 2019-07-18 12:29:23 +08:00 committed by zombieJ
parent a57a2f754d
commit 49973c8df2

View File

@ -29,7 +29,7 @@ interface FormItemProps extends FormItemLabelProps, FormItemInputProps, RcFieldP
required?: boolean;
/** Auto passed by List render props. User should not use this. */
fieldKey: number;
fieldKey?: number;
}
const FormItem: React.FC<FormItemProps> = (props: FormItemProps) => {