VisibleAnimationHandle.d.ts 596 B

1234567891011121314
  1. /// <reference types="react" />
  2. import { dataType, OriginRectType, ShowAnimateEnum } from '../types';
  3. interface VisibleHandleProps {
  4. visible: boolean;
  5. currentImage?: dataType;
  6. children: ({ photoVisible, showAnimateType, originRect, onShowAnimateEnd, }: {
  7. photoVisible: boolean;
  8. showAnimateType: ShowAnimateEnum;
  9. originRect: OriginRectType;
  10. onShowAnimateEnd: () => void;
  11. }) => JSX.Element | null;
  12. }
  13. export default function VisibleAnimationHandle({ visible, currentImage, children }: VisibleHandleProps): JSX.Element | null;
  14. export {};