mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
native pdf viewer with mozilla pdfjs
This commit is contained in:
@@ -31,10 +31,10 @@ import OfficePreview from './previews/OfficePreview'
|
||||
import AudioPreview from './previews/AudioPreview'
|
||||
import VideoPreview from './previews/VideoPreview'
|
||||
import DownloadBtn from './DownloadBtn'
|
||||
import PDFPreview from './previews/PDFEmbedPreview'
|
||||
|
||||
// Disabling SSR for some previews (image gallery view, and PDF view)
|
||||
const ReactViewer = dynamic(() => import('react-viewer'), { ssr: false })
|
||||
const PDFPreview = dynamic(() => import('./previews/PDFPreview'), { ssr: false })
|
||||
const EPUBPreview = dynamic(() => import('./previews/EPUBPreview'), { ssr: false })
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user