diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index 0b68cad89b..9fac6d62b4 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -6,7 +6,11 @@ import Input from '../input'; import InputElement from './InputElement'; export interface DataSourceItemObject { value: string; text: string; } -export type DataSourceItemType = string | DataSourceItemObject; +export type DataSourceItemType = + string | + DataSourceItemObject | + React.ReactElement | + React.ReactElement; export interface AutoCompleteInputProps { onChange?: React.FormEventHandler;