|
|
|
@ -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<OptionProps> |
|
|
|
|
|
React.ReactElement<OptGroupProps>;
|
|
|
|
|
|
|
|
|
|
export interface AutoCompleteInputProps {
|
|
|
|
|
onChange?: React.FormEventHandler<any>;
|
|
|
|
|