Open samatzp opened 3 years ago
import React from 'react'; import PDFViewer from 'mgr-pdf-viewer-react';
const pdf_url="https://arxiv.org/pdf/quant-ph/0410100.pdf"
const ExamplePDFViewer = () => { return (<PDFViewer document={{ url: [pdf_url] }} />); }
export default ExamplePDFViewer
how i can solve?
import React from 'react'; import PDFViewer from 'mgr-pdf-viewer-react';
const pdf_url="https://arxiv.org/pdf/quant-ph/0410100.pdf"
const ExamplePDFViewer = () => { return (<PDFViewer document={{ url: [pdf_url] }} />); }
export default ExamplePDFViewer
how i can solve?