react-pdf
react-pdf copied to clipboard
Option to remove border from PDFViewer
I tried to remove the white border through css, through react-pdf options but I couldn't, is there any way to remove this border?
in PDFViewer
specify styles with
width: "100vw",
height: "100vh",
border: "none",
in
PDFViewer
specify styles withwidth: "100vw", height: "100vh", border: "none",
it's already like this, but it doesn't work
I also can't generate a PDF by reactjs
- Here it says: "Document" module cannot be used as a JSX component
@Victorcassiano React-PDF components can not be use to render directly to the DOM.