react-autocomplete-plugin
Version:
A simple, powerful, lightweight and customizable autocomplete tool programmed for React projects!
42 lines (41 loc) • 1.45 kB
TypeScript
import React from "react";
import { CustomAriaType, CustomClassType, CustomStyleType } from "../../util/types/types";
type InputFieldType = {
dropdownData: any[];
initialVisibleData?: number;
scrollThreshold?: number;
objectProperty?: string;
inputFieldClass?: string;
inputFieldStyle?: React.CSSProperties;
placeHolder?: string;
showdropDownArrow?: boolean;
showClearOption?: boolean;
isAutoCompleteDisabled?: boolean;
totalRecords?: number;
ariaRole?: string;
ariaRoleDescription?: string;
ariaInputField?: string;
inspectAutoCompleteList?: boolean;
defaultValue?: any;
broadcastSelectedValue?: Function;
disableProperty?: string;
disableListFn?: Function | undefined;
triggerClearSelectionEvent: Function | undefined;
customClass?: CustomClassType;
customStyle?: CustomStyleType;
aria?: CustomAriaType;
showLoadingSpinner?: boolean;
isCustomSpinner?: boolean;
noSearchResultMessage?: string;
triggerApiLoadEvent?: Function | undefined;
isApiLoad?: boolean;
isScrollThresholdRequired?: boolean;
triggerBlurEvent?: Function | undefined;
triggerOnFocusEvent?: Function | undefined;
searchFn?: any | undefined;
viewMoreText?: string;
showViewMore?: boolean;
optViewMoreOnlyForApiCall?: boolean;
};
declare function Core(props: InputFieldType): import("react/jsx-runtime").JSX.Element;
export default Core;