Files
chuanggao-website/client/node_modules/element-plus/es/components/collapse/src/collapse-item.mjs

38 lines
866 B
JavaScript
Raw Normal View History

2026-05-12 16:53:18 +08:00
import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
import { iconPropType } from "../../../utils/vue/icon.mjs";
import { ArrowRight } from "@element-plus/icons-vue";
//#region ../../packages/components/collapse/src/collapse-item.ts
/**
* @deprecated Removed after 3.0.0, Use `CollapseItemProps` instead.
*/
const collapseItemProps = buildProps({
/**
* @description title of the panel
*/
title: {
type: String,
default: ""
},
/**
* @description unique identification of the panel
*/
name: {
type: definePropType([String, Number]),
default: void 0
},
/**
* @description icon of the collapse item
*/
icon: {
type: iconPropType,
default: ArrowRight
},
/**
* @description disable the collapse item
*/
disabled: Boolean
});
//#endregion
export { collapseItemProps };
//# sourceMappingURL=collapse-item.mjs.map