UNPKG

ponchojs

Version:

Poncho

10 lines (9 loc) 416 B
/// <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 {};