UNPKG

focus-components-v3

Version:

Focus web components to build applications (based on Material Design)

28 lines (24 loc) 705 B
export interface AutoCompleteItem { key: string; label: string; } export interface AutoCompleteResult { data: AutoCompleteItem[]; totalCount: number; } export interface AutocompleteTextProps { emptyShowAll?: boolean; error?: string | null; inputTimeout?: number; isEdit: boolean; label?: string; name?: string; onChange?: (code: string) => void; placeholder?: string; querySearcher: (text: string) => Promise<AutoCompleteResult>; rawInputValue?: string; showAtFocus?: boolean; type?: string; value?: string; } export default class AutocompleteTextField extends React.Component<AutocompleteTextProps, {}> {}