Skip to content

Commit

Permalink
For testing only - use custom type definition for inputComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbadala committed Oct 20, 2023
1 parent d4ab51f commit 2e8c67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ts/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2e8c67d

Please sign in to comment.