water_xcx/miniprogram_npm/tdesign-miniprogram/popup/props.js

48 lines
795 B
JavaScript
Raw Permalink Normal View History

2025-04-15 15:44:51 +08:00
const props = {
closeBtn: {
type: Boolean,
},
closeOnOverlayClick: {
type: Boolean,
value: true,
},
content: {
type: String,
},
customStyle: {
type: String,
value: '',
},
externalClasses: {
type: Array,
},
overlayProps: {
type: Object,
value: {},
},
placement: {
type: String,
value: 'top',
},
preventScrollThrough: {
type: Boolean,
value: true,
},
showOverlay: {
type: Boolean,
value: true,
},
transitionProps: {
type: Object,
},
visible: {
type: Boolean,
value: null,
},
zIndex: {
type: Number,
value: 11500,
},
};
export default props;