[new feature] ImagePreview: add max-zoom、min-zoom prop (#3133)

This commit is contained in:
neverland
2019-04-11 14:38:46 +08:00
committed by GitHub
parent b4fc5df926
commit e6d4f331a8
5 changed files with 17 additions and 3 deletions

View File

@@ -8,6 +8,8 @@ const defaultConfig = {
images: [],
loop: true,
value: true,
minZoom: 1 / 3,
maxZoom: 3,
className: '',
lazyLoad: false,
showIndex: true,