[new feature] ImagePreview: add closeOnPopstate prop

This commit is contained in:
陈嘉涵
2019-05-24 20:13:21 +08:00
parent 30ddcb5daa
commit b572c76245
7 changed files with 53 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ export type ImagePreviewOptions = string[] | {
showIndex?: boolean;
asyncClose?: boolean;
showIndicators?: boolean;
closeOnPopstate?: boolean;
onClose?: () => any;
};