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
+2 -2
View File
@@ -5,9 +5,8 @@ import { isServer } from '../utils';
let instance;
const defaultConfig = {
images: [],
loop: true,
swipeDuration: 500,
images: [],
value: true,
minZoom: 1 / 3,
maxZoom: 3,
@@ -18,6 +17,7 @@ const defaultConfig = {
showIndex: true,
asyncClose: false,
startPosition: 0,
swipeDuration: 500,
showIndicators: false,
closeOnPopstate: false
};