import { lazy, Suspense } from 'react'; import type { ToolComponentProps } from '../../ai-markdown'; const Chart = lazy(() => import('./charts')); export const SuspendedChart = (props: ToolComponentProps) => { return ( Loading chart...} > ); };