UNPKG

react-instantsearch

Version:
6 lines (5 loc) 495 B
import type { RecommendComponentProps, RecordWithObjectID, UserClientSideTool } from 'instantsearch-ui-components'; import type { IndexUiState } from 'instantsearch.js'; type ItemComponent<TObject> = RecommendComponentProps<TObject>['itemComponent']; declare function createCarouselTool<TObject extends RecordWithObjectID>(showViewAll: boolean, itemComponent?: ItemComponent<TObject>, getSearchPageURL?: (nextUiState: IndexUiState) => string): UserClientSideTool; export { createCarouselTool };