diff --git a/lib/ts/types.ts b/lib/ts/types.ts index 5785bdf77..df8a4d112 100644 --- a/lib/ts/types.ts +++ b/lib/ts/types.ts @@ -239,7 +239,7 @@ export type FormField = FormFieldBaseConfig & { /* * Ability to add custom components */ - inputComponent?: React.FC; + inputComponent?: (props: InputProps) => JSX.Element; }; export type APIFormField = {