mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: AutoComplete dataSource prop type error (#27870)
Co-authored-by: jingjing.ye <jingjing.ye@datayes.com>
This commit is contained in:
parent
b3d0f1d2c6
commit
c7d591e9ab
@ -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<
|
||||
|
Loading…
Reference in New Issue
Block a user