UNPKG

react-instantsearch

Version:
12 lines (11 loc) 501 B
import React from 'react'; import type { ComponentProps } from 'instantsearch-ui-components'; export type AutocompleteSearchProps = { inputProps: ComponentProps<'input'>; clearQuery: () => void; onQueryChange?: (query: string) => void; query: string; refine: (query: string) => void; isSearchStalled: boolean; }; export declare function AutocompleteSearch({ inputProps, clearQuery, onQueryChange, query, refine, isSearchStalled, }: AutocompleteSearchProps): React.JSX.Element;