Open jasminnancy opened 3 years ago
As the title states, the MobilePDFReader component is not doing anything with onDocumentComplete once passed to the component.
I suggest doing something like in PDFReader:
if (onDocumentComplete) { this.props.onDocumentComplete(pdf.numPages); }
As the title states, the MobilePDFReader component is not doing anything with onDocumentComplete once passed to the component.
I suggest doing something like in PDFReader: