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

54 lines
921 B
JavaScript

const props = {
actions: {
type: Array,
},
buttonLayout: {
type: String,
value: 'horizontal',
},
cancelBtn: {
type: String,
optionalTypes: [Object],
value: '',
},
closeOnOverlayClick: {
type: Boolean,
value: true,
},
confirmBtn: {
type: null,
optionalTypes: [Object],
value: '',
},
content: {
type: String,
},
externalClasses: {
type: Array,
},
overlayProps: {
type: Object,
value: {},
},
preventScrollThrough: {
type: Boolean,
value: true,
},
showOverlay: {
type: Boolean,
value: true,
},
title: {
type: String,
},
visible: {
type: Boolean,
value: false,
},
zIndex: {
type: Number,
value: 11500,
},
};
export default props;