UNPKG

instantsearch-ui-components

Version:

Common UI components for InstantSearch.

5 lines (4 loc) 494 B
/** @jsx createElement */ import type { Renderer, ComponentProps, RecommendComponentProps } from '../types'; export type FrequentlyBoughtTogetherProps<TObject, TComponentProps extends Record<string, unknown> = Record<string, unknown>> = ComponentProps<'div'> & RecommendComponentProps<TObject, TComponentProps>; export declare function createFrequentlyBoughtTogetherComponent({ createElement, Fragment, }: Renderer): <TObject>(userProps: FrequentlyBoughtTogetherProps<TObject>) => JSX.Element;