element-plus
Version:
A Component Library for Vue 3
53 lines (49 loc) • 1.13 kB
JavaScript
;
var runtime = require('../../../utils/vue/props/runtime.js');
const cardProps = runtime.buildProps({
/**
* @description title of the card. Also accepts a DOM passed by `slot#header`
*/
header: {
type: String,
default: ""
},
/**
* @description content of footer. Also accepts a DOM passed by `slot#footer`
*/
footer: {
type: String,
default: ""
},
/**
* @description CSS style of card body
*/
bodyStyle: {
type: runtime.definePropType([String, Object, Array]),
default: ""
},
/**
* @description custom class name of card footer
*/
headerClass: String,
/**
* @description custom class name of card body
*/
bodyClass: String,
/**
* @description custom class name of card footer
*/
footerClass: String,
/**
* @description when to show card shadows
*/
shadow: {
type: String,
values: ["always", "hover", "never"],
default: void 0
}
});
const cardContextKey = /* @__PURE__ */ Symbol("cardContextKey");
exports.cardContextKey = cardContextKey;
exports.cardProps = cardProps;
//# sourceMappingURL=card.js.map