xdesign-vue-next
Version:
XDesign Component for vue-next
73 lines (70 loc) • 1.28 kB
JavaScript
/**
* xdesign v1.0.6
* (c) 2023 xdesign
* @license MIT
*/
/* unplugin-vue-components disabled */var props = {
actions: {
type: [String, Function]
},
avatar: {
type: [String, Function]
},
bordered: {
type: Boolean,
"default": true
},
content: {
type: [String, Function]
},
cover: {
type: [String, Function]
},
"default": {
type: [String, Function]
},
description: {
type: [String, Function]
},
footer: {
type: [String, Function]
},
header: {
type: [String, Function]
},
headerBordered: Boolean,
hoverShadow: Boolean,
loading: {
type: [Boolean, Function],
"default": false
},
shadow: Boolean,
size: {
type: String,
"default": "medium",
validator: function validator(val) {
if (!val) return true;
return ["medium", "small"].includes(val);
}
},
status: {
type: String,
"default": ""
},
subtitle: {
type: [String, Function]
},
theme: {
type: String,
"default": "normal",
validator: function validator(val) {
if (!val) return true;
return ["normal", "poster1", "poster2"].includes(val);
}
},
title: {
type: [String, Function]
}
};
export { props as default };
//# sourceMappingURL=props.js.map