analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
15 lines • 654 B
TypeScript
/**
* Props for the assistant content renderer
*/
export interface ChatbotContentRendererProps {
content: string;
className?: string;
}
/**
* Renders a markdown string safely. When the content contains inline LaTeX
* ($...$ or $$...$$) we fallback to `HtmlMathRenderer`, which already
* supports math. For plain markdown we use `react-markdown` with GFM
* (tables, task lists, strikethrough) and no raw HTML — escape by default.
*/
export default function ChatbotContentRenderer({ content, className, }: Readonly<ChatbotContentRendererProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChatbotContentRenderer.d.ts.map