mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-04 02:20:19 +01:00
Switched to Embed pdf for viewer --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: James Brunton <james@stirlingpdf.com>
16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
import React from 'react';
|
|
import EmbedPdfViewer from './EmbedPdfViewer';
|
|
|
|
export interface ViewerProps {
|
|
sidebarsVisible: boolean;
|
|
setSidebarsVisible: (v: boolean) => void;
|
|
onClose?: () => void;
|
|
previewFile?: File | null;
|
|
}
|
|
|
|
const Viewer = (props: ViewerProps) => {
|
|
// Default to EmbedPDF viewer
|
|
return <EmbedPdfViewer {...props} />;
|
|
};
|
|
|
|
export default Viewer; |