Skip to content

v4.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@wojtekmaj wojtekmaj released this 14 Aug 12:06

What's new?

  • Added support for password encrypted PDFs. You can use onPassword prop to overwrite default password prompt (#241).
  • Added documentation for renderMode.
  • You can now pass onLoadProgress callback to Document component to be updated on document loading progress. This may come in handy if you load PDF to be displayed from a web server (#238)
  • You can now pass renderMode prop to all Page components by adding it to wrapping Document component instead.

What's changed?

  • Removed max-width from rendered SVG to match Canvas rendering mode behavior (#251).
  • Clarified documentation for onItemClick.

Bug fixes

  • Fixed page not displaying when passed null to scale prop.