mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
fix form onFieldsChange param type (#12185)
This commit is contained in:
parent
ece2b65c3a
commit
f8408510a6
@ -19,7 +19,7 @@ interface FormCreateOptionMessages {
|
||||
}
|
||||
|
||||
export interface FormCreateOption<T> {
|
||||
onFieldsChange?: (props: T, fields: Array<any>, allFields: any, add: string) => void;
|
||||
onFieldsChange?: (props: T, fields: object, allFields: any, add: string) => void;
|
||||
onValuesChange?: (props: T, changedValues: any, allValues: any) => void;
|
||||
mapPropsToFields?: (props: T) => void;
|
||||
validateMessages?: FormCreateOptionMessages;
|
||||
|
Loading…
Reference in New Issue
Block a user