v2.2.0-beta
Pre-release
Pre-release
What's new?
- Added support for annotations. This means that active elements like links will now be clickable. You can turn off this feature by setting
Page
's componentrenderAnnotations
flag to false (#80). Thanks, @flacerdk! - You can now pass
inputRef
toPage
andOutline
components.inputRef
will behave likeref
, only it will be applied to root elements returned by these components. This makes things like scrolling to a given page much easier. - Errors thrown by React-PDF will now be much more detailed and will include a stack trace. This will help us diagnose potential issues more quickly and make the package better.
What's changed?
- React-PDF no longer have Webpack listed in dependencies.