1import React from 'react';
2import ReactDOM from 'react-dom';
3import { PDFViewer } from '@react-pdf/renderer';
4
5const App = () => (
6 <PDFViewer>
7 <MyDocument />
8 </PDFViewer>
9);
10
11ReactDOM.render(<App />, document.getElementById('root'));