Files
Basalt2/node_modules/@docsearch/react/dist/esm/Snippet.d.ts
Robert Jelic b0a4a6da9c Vitepress
2025-02-10 06:53:23 +01:00

15 lines
445 B
TypeScript

/// <reference types="react" />
import type { StoredDocSearchHit } from './types';
interface SnippetProps<TItem> {
hit: TItem;
attribute: string;
tagName?: string;
[prop: string]: unknown;
}
export declare function Snippet<TItem extends StoredDocSearchHit>({ hit, attribute, tagName, ...rest }: SnippetProps<TItem>): import("react").DOMElement<{
dangerouslySetInnerHTML: {
__html: any;
};
}, Element>;
export {};