@wix/design-system
Version:
@wix/design-system
45 lines • 1.34 kB
TypeScript
export default AutoComplete;
declare class AutoComplete extends InputWithOptions {
static defaultProps: {
predicate: () => boolean;
autoSelect: boolean;
border: string;
clearButton: boolean;
closeOnSelect: boolean;
dropdownOffsetLeft: string;
dropdownWidth: null;
hasMore: boolean;
hideStatusSuffix: boolean;
inContainer: boolean;
infiniteScroll: boolean;
loadMore: null;
markedOption: boolean;
maxHeightPixels: number;
maxLength: number;
options: never[];
overflow: string;
selectedHighlight: boolean;
showOptionsIfEmptyInput: boolean;
textOverflow: string;
onSelect: () => void;
inputElement: React.JSX.Element;
popoverProps: {
appendTo: string;
flip: boolean;
fixed: boolean;
placement: string;
width: string;
minWidth: number;
onMouseEnter: undefined;
onMouseLeave: undefined;
};
tabIndex: number;
autocomplete: string;
};
dropdownAdditionalProps(): {
options: any;
};
}
import InputWithOptions from '../InputWithOptions/InputWithOptions';
import React from 'react';
//# sourceMappingURL=AutoComplete.d.ts.map