mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 14:29:33 +08:00
Merge pull request #17412 from ant-design/fix-form-onSubmit-type
fix: Form onSubmit type
This commit is contained in:
commit
6429172ba3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user