ponchojs
Version:
Poncho
10 lines (9 loc) • 416 B
TypeScript
/// <reference types="react" />
import { FormikState } from 'formik';
export declare type FormRefMethods = {
submitForm: (() => Promise<void>) & (() => Promise<Record<string, unknown>>);
resetForm: (nextState?: Partial<FormikState<unknown>> | undefined) => void;
};
declare type Props = React.PropsWithChildren<unknown>;
export declare const FormContainer: (props: Props) => JSX.Element;
export {};