zhengyiming
2025-02-10 0470145fcd755d3f87bffc7a985bd3cc82c5f3f6
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>,
  },
};