title: Load more than 1 pdf pages in 'react-pdf'
body: <p>I am building a project in React that has a functionality of displaying pdfs.
  I am using the basic minimal code provided in the example (in the repo) itself.
  However, the code displays only the first page of the pdf and the rest are ignored. am using 'react-pdf' for this.
  I</p>
  
  <p>Following is my code ..</p>
  
  <pre><code>import React, {Component} from 'react';
  import './DocumentationPage.css';
  import HeaderComponent from '../../components/Header/Header.js';
  import { Document, Page } from 'react-pdf/build/entry.webpack';
  import data from './data.pdf';
  // import { Document, Page } from 'react-pdf';
  
  export default class DocumentationPage extends Component {
      state = {
          numPages: 12,
          pageNumber: 1,
        }
  
      render() {
          const { pageNumber, numPages } = this.state;
  
          return (
              &lt;div&gt;
                  &lt;HeaderComponent id='header' location={this.props.location} /&gt;
                  &lt;div&gt;
                      &lt;h1&gt;Documentation&lt;/h1&gt;
                  &lt;/div&gt;
                  &lt;div id='contentDiv'&gt;
                      &lt;Document
                          file={data}
                          onLoadSuccess={this.onDocumentLoad}&gt;
                              &lt;Page pageNumber={pageNumber} /&gt;
                      &lt;/Document&gt;
                      &lt;p&gt;Page {pageNumber} of {numPages}&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          );
      }
  }
  </code></pre>
  
  <p>Please help.
  Thank You.</p>