mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
types(ImagePreview): fix missing closeable option
This commit is contained in:
3
types/image-preview.d.ts
vendored
3
types/image-preview.d.ts
vendored
@@ -10,11 +10,14 @@ export type ImagePreviewOptions =
|
||||
className?: any;
|
||||
lazyLoad?: boolean;
|
||||
showIndex?: boolean;
|
||||
closeable?: boolean;
|
||||
closeIcon?: string;
|
||||
asyncClose?: boolean;
|
||||
swipeDuration?: number;
|
||||
startPosition?: number;
|
||||
showIndicators?: boolean;
|
||||
closeOnPopstate?: boolean;
|
||||
closeIconPosition?: string;
|
||||
onClose?: () => void;
|
||||
onChange?: (index: number) => void;
|
||||
};
|
||||
|
Reference in New Issue
Block a user