npm react-pdf 2.0.0-alpha
v2.0.0-alpha

latest releases: 9.1.1, 9.1.0, 9.0.0...
7 years ago

What's new?

  • Now there's more React in React. React-PDF's structure has been completely rewritten (#27).
    • Documents are now loaded using Document component.
    • Pages are now rendered in Page components. They are meant to be rendered inside Document component. And yes, this means you can now render many pages at once!
  • onLoadSuccess of Document and Page components now return pdf and page respectively, giving you access to full PDF.js API.
  • React-PDF now respects page's default rotation. In v1.x, rotation was always set to 0 unless rotate prop was passed. Now React-PDF renders pages in their default rotation as defined in PDF file.

Don't miss a new react-pdf release

NewReleases is sending notifications on new releases.