import React from 'react'; import { lazyWithChunkRecovery } from '@/lib/chunkLoadRecovery'; // Thin lazy wrapper around the heavy MarkdownRenderer implementation. // The full implementation (marked, react-markdown, beautiful-mermaid, // react-syntax-highlighter, etc.) is loaded on demand, keeping the // initial bundle lean. export type { MarkdownVariant } from './MarkdownRendererImpl'; const MarkdownRendererLazy = lazyWithChunkRecovery(() => import('./MarkdownRendererImpl').then((m) => ({ default: m.MarkdownRenderer })) ); const SimpleMarkdownRendererLazy = lazyWithChunkRecovery(() => import('./MarkdownRendererImpl').then((m) => ({ default: m.SimpleMarkdownRenderer })) ); const fallback =
; export const MarkdownRenderer: React.FC> = (props) => ( ); export const SimpleMarkdownRenderer: React.FC> = (props) => ( );