react-image-magnify
react-image-magnify copied to clipboard
in-place is undocumented
The product description says you can do in-place but a search for "in-place" in the documentation results in zero hits.
@RobertGary1 You are correct. To do in-place, set enlargedImagePosition to "over". The documentation should update this.
<ReactImageMagnify
{...{
enlargedImagePosition: "over",
smallImage: {
alt: "Wristwatch by Ted Baker London",
isFluidWidth: true,
src: "https://placeimg.com/640/480/any"
},
largeImage: {
src: "https://placeimg.com/640/480/any",
width: 640,
height: 480
},
}}
/>