zhengyiming
2025-02-13 706ca6512fe78f0321573ea7b66604bc12cb173d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { PropType } from 'vue';
import { ITouchEvent } from '@tarojs/components';
 
export const previewImageProps = {
  urls: {
    type: Array as PropType<string[]>,
    default: () => [],
  },
  wrapperClassName: {
    type: String,
  },
  src: {
    type: String,
  },
  onClick: {
    type: Function as PropType<(event: ITouchEvent) => void>,
  },
};