diff --git a/lib/ts/types.ts b/lib/ts/types.ts index 1aa48a340..5785bdf77 100644 --- a/lib/ts/types.ts +++ b/lib/ts/types.ts @@ -289,6 +289,11 @@ export type NormalisedFormField = { * Moves focus to the input element when it mounts */ autofocus?: boolean; + + /* + * Ability to add custom components + */ + inputComponent?: React.FC; }; export type ReactComponentClass

= ComponentClass | ((props: P) => JSX.Element);