element-plus
Version:
A Component Library for Vue 3
54 lines (53 loc) • 1.2 kB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_runtime = require("../../../utils/vue/props/runtime.js");
const require_index = require("../../../hooks/use-size/index.js");
//#region ../../packages/components/descriptions/src/description.ts
/**
* @deprecated Removed after 3.0.0, Use `DescriptionProps` instead.
*/
const descriptionProps = require_runtime.buildProps({
/**
* @description with or without border
*/
border: Boolean,
/**
* @description numbers of `Descriptions Item` in one line
*/
column: {
type: Number,
default: 3
},
/**
* @description direction of list
*/
direction: {
type: String,
values: ["horizontal", "vertical"],
default: "horizontal"
},
/**
* @description size of list
*/
size: require_index.useSizeProp,
/**
* @description title text, display on the top left
*/
title: {
type: String,
default: ""
},
/**
* @description extra text, display on the top right
*/
extra: {
type: String,
default: ""
},
/**
* @description width of every label column
*/
labelWidth: { type: [String, Number] }
});
//#endregion
exports.descriptionProps = descriptionProps;
//# sourceMappingURL=description.js.map