-
+const LoadingComponent = () => (
+
+
+
+ Loading document...
+
+
+);
-
- Loading document...
-
-
- ),
-});
+export const LazyPDFViewerImport = lazy(async () => import('./pdf-viewer'));
-/**
- * LazyPDFViewer variant with no loader.
- */
-export const LazyPDFViewerNoLoader = dynamic(async () => import('./pdf-viewer'), {
- ssr: false,
-});
+export const LazyPDFViewer = (props: React.ComponentProps