diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index c82bf84c8c..1da5246410 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -20,7 +20,7 @@ export interface DataSourceItemObject { value: string; text: string; } -export type DataSourceItemType = string | DataSourceItemObject; +export type DataSourceItemType = string | DataSourceItemObject | React.ReactNode; export interface AutoCompleteProps extends Omit<