anaralabs / anaralabs/lector

Add configurable zoom limits through props

未关闭
#41 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。