From 26bc4ff320cc93bf4376edd190b3779774f2f87c Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Wed, 27 Mar 2024 19:33:23 +0100 Subject: [PATCH] fix: make getItemSummary optional on ExternalFields, as expected --- packages/core/types/Config.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/types/Config.tsx b/packages/core/types/Config.tsx index dddc8e4d54..1d8a93b08a 100644 --- a/packages/core/types/Config.tsx +++ b/packages/core/types/Config.tsx @@ -97,7 +97,7 @@ export type ExternalField< }) => Promise; mapProp?: (value: any) => Props; mapRow?: (value: any) => Record; - getItemSummary: (item: Props, index?: number) => string; + getItemSummary?: (item: Props, index?: number) => string; showSearch?: boolean; initialQuery?: string; filterFields?: Record;