react-instantsearch
Version:
⚡ Lightning-fast search for React, by Algolia
12 lines (11 loc) • 501 B
TypeScript
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;