ahooks-v2
Version:
react hooks library
16 lines (15 loc) • 505 B
TypeScript
import { Field } from './index';
export interface Store {
[name: string]: any;
}
interface UseAntdTableFormUtils {
getFieldInstance?: (name: string) => {};
setFieldsValue: (value: Store) => void;
getFieldsValue: (...args: any) => Store;
resetFields: (...args: any) => void;
validateFields: () => Promise<any>;
[key: string]: any;
}
export declare const fieldAdapter: (field: Field) => UseAntdTableFormUtils;
export declare const resultAdapter: (result: any) => any;
export {};