UNPKG

@redocly/theme

Version:

Shared UI components lib

15 lines (14 loc) 450 B
import type { JSX } from 'react'; import { AiSearchError } from '../../core/constants'; export type SearchAiResponseProps = { question: string; isGeneratingResponse: boolean; response?: string; error: AiSearchError | null; resources: { url: string; title: string; }[]; onSuggestionClick: (suggestion: string) => void; }; export declare function SearchAiResponse(props: SearchAiResponseProps): JSX.Element;