react-medium-image
v0.0.5
Published
Medium like image zooming for React
Downloads
332
Readme
React Medium Image
A medium-style image viewer.
Installation
npm install react-medium-image
Usage
import MediumImage from "react-medium-image"
const ui = (
<MediumImage margin={48} zoomIcon={<ArrowsPointingOutIcon />}>
<img alt="..." src="https://..." />
</MediumImage>
)
Thanks
Thanks to react-medium-image-zoom for the inspiration behind this library and some of the original implementation I borrowed from.