ponchojs
Version:
Poncho
9 lines (8 loc) • 362 B
TypeScript
/// <reference types="react" />
import { FormRefMethods } from '../components/form/FormContainer';
import { WrapperProps } from '../components/form/Wrapper';
interface CreateFormType<T> {
Form: (props: WrapperProps<T> & React.RefAttributes<FormRefMethods>) => JSX.Element;
}
export declare const createFormCtx: <T>() => CreateFormType<T>;
export {};