react-pdf
react-pdf copied to clipboard
No Styles When Only Rendering With Document
Describe the bug When rendering the PDF with just document instead of inside of PDFViewer there are no styles.
To Reproduce
- Create a new next application with tailwind
- Render a PDF with
<Document>
without wrapping it in a PDFViewer
You can make use of react-pdf REPL to share the snippet
Expected behavior The PDF should render in react instead of the PDF viewer.
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser Arc / Chromium
- React-pdf 3.4.4