Skip to content

Commit

Permalink
fix: make getItemSummary optional on ExternalFields, as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Mar 27, 2024
1 parent d75df7a commit 26bc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/Config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export type ExternalField<
}) => Promise<any[] | null>;
mapProp?: (value: any) => Props;
mapRow?: (value: any) => Record<string, string | number>;
getItemSummary: (item: Props, index?: number) => string;
getItemSummary?: (item: Props, index?: number) => string;
showSearch?: boolean;
initialQuery?: string;
filterFields?: Record<string, Field>;
Expand Down

0 comments on commit 26bc4ff

Please sign in to comment.