From 32132c58cf40afb3a1272192536f47f9acda02f4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 2 Jul 2019 19:03:23 +0800 Subject: [PATCH] :bug: Fix Form onSubmit type close #17400 --- components/form/Form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/Form.tsx b/components/form/Form.tsx index 9aad66952a..ee5bdde562 100755 --- a/components/form/Form.tsx +++ b/components/form/Form.tsx @@ -34,7 +34,7 @@ export type FormLayout = (typeof FormLayouts)[number]; export interface FormProps extends React.FormHTMLAttributes { layout?: FormLayout; form?: WrappedFormUtils; - onSubmit?: React.FormEventHandler; + onSubmit?: React.FormEventHandler; style?: React.CSSProperties; className?: string; prefixCls?: string;