We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89454a4 commit df89fdeCopy full SHA for df89fde
typescript/index.d.ts
@@ -95,9 +95,9 @@ export interface FormSpyProps
95
extends UseFormStateParams,
96
RenderableProps<FormSpyRenderProps> {}
97
98
-export const Field: React.ComponentType<FieldProps<any>>;
99
-export const Form: React.ComponentType<FormProps>;
100
-export const FormSpy: React.ComponentType<FormSpyProps>;
+export const Field: React.FC<FieldProps<any>>;
+export const Form: React.FC<FormProps>;
+export const FormSpy: React.FC<FormSpyProps>;
101
export function useField<T extends HTMLElement>(
102
name: string,
103
config: UseFieldConfig
0 commit comments