[new feature] ImagePreview: add swipe-duration prop (#3963)

This commit is contained in:
drafish
2019-07-25 19:01:01 +08:00
committed by neverland
parent dc0e71556b
commit f52890cfd6
5 changed files with 12 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ let instance;
const defaultConfig = {
images: [],
loop: true,
swipeDuration: 500,
value: true,
minZoom: 1 / 3,
maxZoom: 3,