react-image-viewer
Demo
Installation
npm install react-image-viewer
Usage
Component { const style = width: 400 height: 300 backgroundSize: 'cover' ; const config = viewedImageSize: 08 backgroundOpacity: 06 ; return <div> <ImageViewer = = ="http://***" /> </div> ; }