city-casereport/miniprogram_npm/tdesign-miniprogram/image-viewer/props.js

40 lines
673 B
JavaScript
Raw Normal View History

2023-12-06 14:22:42 +08:00
const props = {
backgroundColor: {
type: String,
value: 'rgba(0, 0, 0, 1)',
},
closeBtn: {
type: null,
value: false,
},
deleteBtn: {
type: null,
value: false,
},
images: {
type: Array,
value: [],
},
initialIndex: {
type: Number,
value: 0,
},
showIndex: {
type: Boolean,
value: false,
},
usingCustomNavbar: {
type: Boolean,
value: false,
},
visible: {
type: Boolean,
value: null,
},
defaultVisible: {
type: Boolean,
value: false,
},
};
export default props;