Add configurable zoom limits through props
未关闭
- 主要语言
- TypeScript
- 星标
- 395
- 派生
- 39
- 平均合并
- 7 小时 7 分钟
- 30 天内合并 PR
- 12
描述
## Description
Currently, the PDF viewer has hardcoded zoom limits (minZoom: 0.5, maxZoom: 10) in the PDFStore. This restricts users from implementing custom zoom ranges that might be needed for specific use cases, such as:
- Viewing very large documents that need smaller zoom levels
- Detailed inspection requiring higher zoom levels
- Custom zoom ranges for specific document types
## Proposed Solution
Add `zoomOptions` prop to the `Root` component that allows overriding the default zoom limits
贡献指南
评估
这个 Issue 还没有评估数据。