From 2e8c67dce4f9370b4418ebb603a0f7ba54374e7a Mon Sep 17 00:00:00 2001
From: amitbadala <amitbadala07@gmail.com>
Date: Fri, 20 Oct 2023 13:08:52 +0530
Subject: [PATCH] For testing only - use custom type definition for
 inputComponent

---
 lib/ts/types.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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<InputProps>;
+    inputComponent?: (props: InputProps) => JSX.Element;
 };
 
 export type APIFormField = {