title: Creating PDF out of custom components in React
body: <p><strong>Requirement:</strong></p>
  <blockquote>
  <p>I have to export a dashboard into PDF, this dashboard contains multiple tabs. Each tab has data that is dynamically fetched only once the tab is clicked on. Requirement is that all the tabs data should get exported into a pdf having multiple pages.</p>
  </blockquote>
  <p><strong>Methods Tried</strong></p>
  <blockquote>
  <ol>
  <li>Tried <strong>html2canvas</strong> and then saved the same into <strong>jsPDF</strong>. Got stuck as I needed multiple divs to be exported and saved into multiple pages. [If this can be fixed, well and good]</li>
  </ol>
  </blockquote>
  <blockquote>
  <ol start="2">
  <li>Tried <strong>React-Pdf</strong>, Apparently I couldn't use my dynamic tables/reports in this. so another dead end.</li>
  </ol>
  </blockquote>
  <p>Just need one dashboard which contains multiple tabs to be exported into a pdf.</p>