mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
[new feature] ImagePreview: add className prop (#2433)
This commit is contained in:
3
types/image-preview.d.ts
vendored
3
types/image-preview.d.ts
vendored
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user