element-plus
Version:
A Component Library for Vue 3
38 lines (37 loc) • 866 B
JavaScript
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