Import source: app/src/components/lazy-diagram

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:24:25 +03:30
parent dc1c2be05f
commit 73cde537bb
+13
View File
@@ -0,0 +1,13 @@
import { lazy, Suspense } from 'react';
const DiagramRendererLazy = lazy(() =>
import('../../teknav-diagrams.jsx').then(m => ({ default: m.DiagramRenderer }))
);
export function LazyDiagram(props) {
return (
<Suspense fallback={<div className="tek-diagram-skeleton" aria-hidden="true" />}>
<DiagramRendererLazy {...props} />
</Suspense>
);
}