react-autocomplete-plugin
Version:
A simple, powerful, lightweight and customizable autocomplete tool programmed for React projects!
20 lines (19 loc) • 735 B
TypeScript
import React, { CSSProperties, FocusEventHandler, FormEventHandler, MouseEventHandler } from "react";
type InputType = {
handleOnFocusEvent: FocusEventHandler;
handleOnBlurEvent: FocusEventHandler;
onSearch: FormEventHandler;
inputFieldClass?: string;
inputFieldStyle?: CSSProperties;
placeHolder?: string;
isAutoCompleteDisabled?: boolean;
ariaRole?: string;
ariaRoleDescription?: string;
ariaInputField?: string;
showdropDownArrow?: boolean;
showClearOption?: boolean;
handleDropdownClick: MouseEventHandler;
clearSearch: MouseEventHandler;
};
declare const _default: React.ForwardRefExoticComponent<InputType & React.RefAttributes<HTMLInputElement>>;
export default _default;