wupengfei
2025-02-13 c369c4e2f7ad0d4cc5581bba762ad0494973c092
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>,
  },
};