Skip to content

Commit df89fde

Browse files
committed
Converted to use React.FC
1 parent 89454a4 commit df89fde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

typescript/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ export interface FormSpyProps
9595
extends UseFormStateParams,
9696
RenderableProps<FormSpyRenderProps> {}
9797

98-
export const Field: React.ComponentType<FieldProps<any>>;
99-
export const Form: React.ComponentType<FormProps>;
100-
export const FormSpy: React.ComponentType<FormSpyProps>;
98+
export const Field: React.FC<FieldProps<any>>;
99+
export const Form: React.FC<FormProps>;
100+
export const FormSpy: React.FC<FormSpyProps>;
101101
export function useField<T extends HTMLElement>(
102102
name: string,
103103
config: UseFieldConfig

0 commit comments

Comments
 (0)