for zooming/rotating images.
original: meson-display
Not yet:
- animations
- dragging
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}
/>;
https://github.com/jimengio/ts-workflow
MIT