
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
picture-zoom-react
Advanced tools
这是一款 react 放大镜组件
参数 | 类型 | 说明 | 默认值 |
---|---|---|---|
curIndex | number | 默认展示数组中的第一张图片 | 默认0 |
Zoom | number | 设置放大的倍数 | 默认2.5 |
imgList | Array | 需要放大的图片 | ['url','url'] |
如果什么都不设置 则根据.main-img,它是包裹放大镜组件的外层边框,组件初始化会根据 它设置 SourceWidth 和 SourceHeight
<ZoomImg Zoom={2.5} imgList={skuImageDtos}/>
FAQs
react zoom
The npm package picture-zoom-react receives a total of 0 weekly downloads. As such, picture-zoom-react popularity was classified as not popular.
We found that picture-zoom-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.