UNPKG

infinity-forge

Version:
8 lines (7 loc) 435 B
export declare function useFormHandler(): { stateForm: import("../index.js").StateFormFormHandler; onSubmit: (action?: import("../index.js").ICustomSubmitProps["action"], configs?: import("../index.js").OnSubmitConfiguration) => Promise<void>; values: any; setFieldValue: (field: string, value: any, shouldValidate?: boolean) => Promise<void | import("formik").FormikErrors<any>>; formHandlerContextProps?: any; };