@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
22 lines (21 loc) • 534 B
TypeScript
export type SearchResult = {
title?: string;
url?: string;
date?: string;
snippet: {
pre: string;
text: string;
post: string;
};
};
type Props = {
result: SearchResult;
position: number;
isSelected?: boolean;
subTitle?: React.ReactNode;
children?: React.ReactNode;
className?: string;
snippetProps?: any;
};
export declare const VuiSearchResult: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement | null>>;
export {};