UNPKG

react-photo-view-plus

Version:

一款精致的 React 的图片预览组件

15 lines (14 loc) 596 B
/// <reference types="react" /> import { dataType, OriginRectType, ShowAnimateEnum } from '../types'; interface VisibleHandleProps { visible: boolean; currentImage?: dataType; children: ({ photoVisible, showAnimateType, originRect, onShowAnimateEnd, }: { photoVisible: boolean; showAnimateType: ShowAnimateEnum; originRect: OriginRectType; onShowAnimateEnd: () => void; }) => JSX.Element | null; } export default function VisibleAnimationHandle({ visible, currentImage, children }: VisibleHandleProps): JSX.Element | null; export {};