UNPKG

formik

Version:

Forms in React, without tears

9 lines (8 loc) 439 B
import * as React from 'react'; import hoistNonReactStatics from 'hoist-non-react-statics'; import { FormikContext } from './types'; export declare function connect<OuterProps, Values = {}>(Comp: React.ComponentType<OuterProps & { formik: FormikContext<Values>; }>): React.FunctionComponent<OuterProps> & hoistNonReactStatics.NonReactStatics<React.ComponentClass<OuterProps & { formik: FormikContext<Values>; }, any>, {}>;