Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Image Viewer Component

npm

for zooming/rotating images.

original: meson-display

Not yet:

  • animations
  • dragging

Usage

import { ImageViewer } from "@jimengio/image-viewer";

<ImageViewer
  visible={visible}
  imageUrl={"http://cache.house.sina.com.cn/citylifehouse/citylife/de/26/20090508_7339__.jpg"}
  onClose={() => {
    setVisible(false);
  }}
  hasLeftOne={false}
  hasRightOne={false}
  closeOnBackdrop={false}
/>;

Workflow

https://github.com/jimengio/ts-workflow

License

MIT