Files
quinn-wx/components/dialog/props.js
2022-12-14 19:39:14 +08:00

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;