mirror of
https://github.com/documenso/documenso.git
synced 2025-11-24 05:32:12 +10:00
8 lines
287 B
TypeScript
8 lines
287 B
TypeScript
import { ClientOnly } from '../../components/client-only';
|
|
|
|
import { PDFViewer, type PDFViewerProps } from './base.client';
|
|
|
|
export const PDFViewerLazy = (props: PDFViewerProps) => {
|
|
return <ClientOnly fallback={<div>Loading...</div>}>{() => <PDFViewer {...props} />}</ClientOnly>;
|
|
};
|