File tree Expand file tree Collapse file tree 5 files changed +12
-13
lines changed
Annotations/Role based annotation/RoleBasedAnnotation/src Expand file tree Collapse file tree 5 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
2- import "./index .css" ; // Make sure this CSS file exists and is correctly styled
2+ import "./PdfViewer .css" ; // Make sure this CSS file exists and is correctly styled
33
44const hostURL = "https://localhost:44310/api/Authentication" ;
55
Original file line number Diff line number Diff line change 1+ @import '../node_modules/@syncfusion/ej2-base/styles/material.css' ;
2+ @import '../node_modules/@syncfusion/ej2-buttons/styles/material.css' ;
3+ @import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css' ;
4+ @import '../node_modules/@syncfusion/ej2-inputs/styles/material.css' ;
5+ @import '../node_modules/@syncfusion/ej2-navigations/styles/material.css' ;
6+ @import '../node_modules/@syncfusion/ej2-popups/styles/material.css' ;
7+ @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css' ;
8+ @import "../node_modules/@syncfusion/ej2-pdfviewer/styles/material.css" ;
9+
110/* Base */
211body {
312 margin : 0 ;
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ const PdfViewer = () => {
364364 ref = { pdfViewerRef }
365365 id = "container"
366366 documentPath = { window . location . origin + "/Annotations.pdf" }
367- resourceUrl = "https://cdn.syncfusion.com/ej2/30 .2.7/dist/ej2-pdfviewer-lib"
367+ resourceUrl = "https://cdn.syncfusion.com/ej2/31 .2.7/dist/ej2-pdfviewer-lib"
368368 style = { { height : '640px' } }
369369 documentLoad = { handleDocumentLoad }
370370 annotationAdd = { onAnnotationAdd }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom/client' ;
3- import './index .css' ;
3+ import './PdfViewer .css' ;
44import { registerLicense } from '@syncfusion/ej2-base' ;
55import PdfViewer from './PdfViewer' ;
66
You can’t perform that action at this time.
0 commit comments