water_xcx/miniprogram_npm/tdesign-miniprogram/image-viewer/props.js

37 lines
635 B
JavaScript

const props = {
backgroundColor: {
type: String,
optionalTypes: [Number],
value: 'rgba(0, 0, 0, 1)',
},
images: {
type: Array,
value: [],
},
initialIndex: {
type: Number,
value: 0,
},
showIndex: {
type: Boolean,
value: false,
},
deleteBtn: {
type: Boolean,
value: false,
},
closeBtn: {
type: Boolean,
value: false,
},
visible: {
type: Boolean,
value: null,
},
defaultVisible: {
type: Boolean,
value: false,
},
};
export default props;