UNPKG

@sajari/sdk-react

Version:
14 lines (13 loc) 507 B
/// <reference types="react" /> import { CSSObject } from "@emotion/core"; import { SearchStateAndHelpers } from "../Search/Search"; export interface SuggestionsProps { searchProps: SearchStateAndHelpers; typedInputValue: string; suggestions?: string[]; styles?: { container?: CSSObject; item?: (isFocused: boolean) => CSSObject; }; } export declare function Suggestions({ searchProps, typedInputValue, suggestions, styles }: SuggestionsProps): JSX.Element;