feat(ImagePreview): add closeable prop (#5654)

This commit is contained in:
landluck
2020-02-14 14:47:21 +08:00
committed by GitHub
parent 1d8e2654f5
commit 85a3707202
9 changed files with 180 additions and 4 deletions
+3
View File
@@ -20,6 +20,9 @@ const defaultConfig = {
swipeDuration: 500,
showIndicators: false,
closeOnPopstate: false,
closeable: false,
closeIcon: 'clear',
closeIconPosition: 'top-right',
};
const initInstance = () => {