trieve-search-component
Version:
The easiest way to get up and running in your app using trieve search.
15 lines • 531 B
TypeScript
import { ChunkWithHighlights } from "../../utils/types";
import React from "react";
import { ChunkGroup, CTRType } from "trieve-ts-sdk";
type Props = {
item: ChunkWithHighlights;
requestID: string;
index: number;
className?: string;
group?: ChunkGroup;
betterGroupName?: string;
ctrType?: CTRType;
};
export declare const ProductItem: ({ item, requestID, index, className, group, betterGroupName, ctrType: type, }: Props) => React.JSX.Element | null;
export {};
//# sourceMappingURL=ProductItem.d.ts.map