UNPKG

react-autocomplete-plugin

Version:

A simple, powerful, lightweight and customizable autocomplete tool programmed for React projects!

39 lines (38 loc) 1.39 kB
import { CustomAriaType, CustomClassType, CustomStyleType } from "../../util/types/types"; import './Autocomplete.css'; export type AutoCompleteProps = { dropdownData: any[]; objectProperty?: string; initialVisibleData?: number; scrollThreshold?: number; inspectAutoCompleteList?: boolean; placeHolder?: string; showdropDownArrow?: boolean; showClearOption?: boolean; defaultValue?: any; noSearchResultMessage?: string; totalRecords?: number; disableProperty?: string; disableListFn?: Function | undefined; customClass?: CustomClassType; isAutoCompleteDisabled?: boolean; customStyle?: CustomStyleType; triggerBlurEvent?: Function | undefined; triggerOnFocusEvent?: Function | undefined; broadcastSelectedValue?: Function | undefined; triggerClearSelectionEvent?: Function | undefined; triggerApiLoadEvent?: Function | undefined; isScrollThresholdRequired?: boolean; showLoadingSpinner?: boolean; isCustomSpinner?: boolean; inputLabel?: string; showInputlabel?: boolean; aria?: CustomAriaType; isApiLoad?: boolean; searchFn?: Function | undefined; viewMoreText?: string; showViewMore?: boolean; optViewMoreOnlyForApiCall?: boolean; }; declare function Autocomplete(props: AutoCompleteProps): import("react/jsx-runtime").JSX.Element; export default Autocomplete;