1 | import * as React from 'react';
|
2 | import { BaseListboxInputProps, ChangeHandler, Filterable, PopupWidgetProps, SelectHandler, WidgetHTMLProps, WidgetProps } from './shared';
|
3 | import { DataItem, WidgetHandle } from './types';
|
4 | export declare type ComboboxHandle = WidgetHandle;
|
5 | export interface ComboboxProps<TDataItem = DataItem> extends WidgetHTMLProps, WidgetProps, PopupWidgetProps, Filterable<TDataItem>, BaseListboxInputProps<TDataItem, string | TDataItem> {
|
6 | name?: string;
|
7 | |
8 |
|
9 |
|
10 | autoSelectMatches?: boolean;
|
11 | onChange?: ChangeHandler<TDataItem | string>;
|
12 | onSelect?: SelectHandler<TDataItem | string>;
|
13 | hideCaret?: boolean;
|
14 | hideEmptyPopup?: boolean;
|
15 | }
|
16 | declare interface Combobox {
|
17 | <TDataItem = DataItem>(props: ComboboxProps<TDataItem> & React.RefAttributes<ComboboxHandle>): React.ReactElement | null;
|
18 | displayName?: string;
|
19 | propTypes?: any;
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | declare const ComboboxImpl: Combobox;
|
39 | export default ComboboxImpl;
|
40 |
|
\ | No newline at end of file |