UNPKG

react-photo-view-fix

Version:

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

14 lines (13 loc) 563 B
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 {};