perf(ImagePreview): adjust default swipeDuration to 300ms (#7970)

This commit is contained in:
neverland
2021-01-23 11:31:56 +08:00
committed by GitHub
parent b0fb58856c
commit fcb5c223ba
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const defaultConfig = {
closeIcon: 'clear',
beforeClose: null,
startPosition: 0,
swipeDuration: 500,
swipeDuration: 300,
showIndicators: false,
closeOnPopstate: true,
closeIconPosition: 'top-right',