import { ReactFlow } from '@xyflow/react'; import { ProtobufVizTheme } from '../theme.ts'; import { Background } from './Background.tsx'; export function LoadingError({ theme, error, }: { theme: ProtobufVizTheme; error: Error; }) { return ( {error && (
{error.message}
)}
); }