File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export interface RenderableProps<T> {
5555 render ?: ( props : T ) => React . ReactNode ;
5656}
5757
58- export interface FormProps extends Config , RenderableProps < FormRenderProps > {
58+ export interface FormProps < FormData = object >
59+ extends Config < FormData > ,
60+ RenderableProps < FormRenderProps > {
5961 subscription ?: FormSubscription ;
6062 decorators ?: Decorator [ ] ;
6163 initialValuesEqual ?: ( a ?: object , b ?: object ) => boolean ;
@@ -96,7 +98,7 @@ export interface FormSpyProps
9698 RenderableProps < FormSpyRenderProps > { }
9799
98100export const Field : React . FC < FieldProps < any > > ;
99- export const Form : React . FC < FormProps > ;
101+ export const Form : React . FC < FormProps < object > > ;
100102export const FormSpy : React . FC < FormSpyProps > ;
101103export function useField < T extends HTMLElement > (
102104 name : string ,
You can’t perform that action at this time.
0 commit comments