zhengyiming
2025-03-24 c7ab8c4fca1c690f3e5536dff520eaa9c4010fd1
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>,
  },
};