v7.2.0
版本发布时间: 2023-07-21 21:50:23
wojtekmaj/react-pdf最新发布版本:v9.1.1(2024-09-18 17:59:31)
What's new?
- Added support for new
renderMode
:"custom"
. When set, you can pass custom renderer function tocustomRenderer
prop (#1408). - Improved RSC compatibility. You no longer need to add
'use client';
to the parent component for this component to work.
What's changed?
- Improved documentation not to suggest using inline object as
options
prop value (#1567). - Added guidelines for installation in Next.js app (#1508).
Bug fixes
-
@types/react
and@types/react-dom
are now optional peerDependencies, which eliminates errors caused by duplicate typings.