UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

12 lines (11 loc) 569 B
import { KeyboardEvent, MutableRefObject } from "react"; import { SearchSuggestion } from "./types"; type Props = { id: string; suggestions: SearchSuggestion[]; onSuggestionKeyDown: (e: KeyboardEvent<HTMLElement>, index: number) => void; suggestionRefs: MutableRefObject<(HTMLElement | null)[]>; onSelectSuggestion?: (suggestion: SearchSuggestion) => void; }; export declare const VuiSearchInputSuggestions: ({ id, suggestions, onSuggestionKeyDown, suggestionRefs, onSelectSuggestion }: Props) => import("react/jsx-runtime").JSX.Element; export {};