React PDF viewer v3.3.1 Release Notes
-
๐ New feature
- ๐ The thumbnail plugin adds new option for customizing the width of thumbnails:
const thumbnailPluginInstance = thumbnailPlugin({ thumbnailWidth: 150, }); // Use with the default layout plugin const defaultLayoutPluginInstance = defaultLayoutPlugin({ thumbnailPlugin: { thumbnailWidth: 150, }, });
๐ Bug fix
- ๐ Support React 18 strict mode
<React.StrictMode> <Worker workerUrl="..."> <Viewer fileUrl="..." /> </Worker> </React.StrictMode>