): import React from 'react'; import PDF from 'react-pdf-js';  class ViewPDF extends React.Component {   constructor(props) {     super(props);     this.state = {       page: 0,       pages: 0     }     this.onDocumentComplete = this.onDocumentComplete.bind(this);     this.onPageComplete = this.onPageComplete.bind(this);   