Skip to content

Commit

Permalink
Merge pull request #17412 from ant-design/fix-form-onSubmit-type
Browse files Browse the repository at this point in the history
fix: Form onSubmit type
  • Loading branch information
afc163 committed Jul 2, 2019
2 parents 8a9d16b + 32132c5 commit 6429172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/form/Form.tsx
Expand Up @@ -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;
Expand Down

0 comments on commit 6429172

Please sign in to comment.