fix(ImagePreview): missing swipeDuration type definition (#4968)

This commit is contained in:
neverland
2019-11-09 15:57:26 +08:00
committed by GitHub
parent b055980fe0
commit f4f88c5254
4 changed files with 6 additions and 5 deletions

View File

@@ -6,10 +6,11 @@ export type ImagePreviewOptions = string[] | {
maxZoom?: number;
minZoom?: number;
className?: any;
startPosition?: number;
lazyLoad?: boolean;
showIndex?: boolean;
asyncClose?: boolean;
swipeDuration?: number;
startPosition?: number;
showIndicators?: boolean;
closeOnPopstate?: boolean;
onClose?: () => void;