@bothub-chat/ui
Version:
Bothub UI Components
16 lines (15 loc) • 493 B
TypeScript
export type MessageSearchResultsItemType = {
url: string;
name: string;
title: string;
date: string;
content: string;
};
export type MessageSearchResultsProps = {
results: MessageSearchResultsItemType[];
downloadHandler?: (result: MessageSearchResultsItemType, index: number) => void;
regexFilterDownloadHandler?: RegExp;
downloadText?: string;
pendingMessage: boolean;
};
export declare const MessageSearchResults: React.FC<MessageSearchResultsProps>;