mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 11:21:29 +00:00
[view history/snapshot/trash file] rewrote them with react
This commit is contained in:
16
frontend/src/components/file-content-view/pdf.js
Normal file
16
frontend/src/components/file-content-view/pdf.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react';
|
||||
import PDFViewer from '../pdf-viewer';
|
||||
|
||||
import '../../css/pdf-file-view.css';
|
||||
|
||||
class FileContent extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="file-view-content flex-1 pdf-file-view">
|
||||
<PDFViewer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default FileContent;
|
Reference in New Issue
Block a user