[new feature] ImagePreview: add className prop (#2433)

This commit is contained in:
neverland
2019-01-03 23:20:24 +08:00
committed by GitHub
parent fad49ea1c7
commit 5c3388c8a9
6 changed files with 9 additions and 2 deletions

View File

@@ -1,9 +1,12 @@
import { VanPopupMixin } from './mixins/popup';
export type ImagePreviewOptions = string[] | {
loop?: boolean;
images: string[];
className?: any;
startPosition?: number;
showIndex?: boolean;
asyncClose?: boolean;
showIndicators?: boolean;
onClose?: () => any;
};