🐛 Fix Form onSubmit type

close #17400
This commit is contained in:
afc163 2019-07-02 19:03:23 +08:00
parent f096b89828
commit 32132c58cf
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -34,7 +34,7 @@ export type FormLayout = (typeof FormLayouts)[number];
export interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
layout?: FormLayout;
form?: WrappedFormUtils;
onSubmit?: React.FormEventHandler<HTMLElement>;
onSubmit?: React.FormEventHandler<HTMLFormElement>;
style?: React.CSSProperties;
className?: string;
prefixCls?: string;