An image viewer example for react.js

React Image Viewer

Demo

Installation npm i react-image-viewer-dv

Usage

import { ImageViewer } from "react-image-viewer-dv"
import img from './image.img';

export const YourComponent = () => {
    return (
        <div>
          <ImageViewer>
            <img src={img}  alt="Your image" />
          </ImageViewer>
        </div>
    )
}

Links

Contact the developer ( telegram )

Github

NpmJs

GitHub

View Github