instantsearch-ui-components
Version:
Common UI components for InstantSearch.
9 lines (8 loc) • 354 B
TypeScript
import type { ComponentProps, Renderer } from '../..';
export type AutocompleteSearchProps = {
inputProps: ComponentProps<'input'>;
onClear: () => void;
query: string;
isSearchStalled: boolean;
};
export declare function createAutocompleteSearchComponent({ createElement }: Renderer): (userProps: AutocompleteSearchProps) => JSX.Element;