Skip to content

Commit

Permalink
Converted to use React.FC
Browse files Browse the repository at this point in the history
  • Loading branch information
erikras committed May 24, 2019
1 parent 89454a4 commit df89fde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typescript/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export interface FormSpyProps
extends UseFormStateParams,
RenderableProps<FormSpyRenderProps> {}

export const Field: React.ComponentType<FieldProps<any>>;
export const Form: React.ComponentType<FormProps>;
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>;
export function useField<T extends HTMLElement>(
name: string,
config: UseFieldConfig
Expand Down

0 comments on commit df89fde

Please sign in to comment.