element-plus/types/collapse-item.d.ts

27 lines
551 B
TypeScript
Raw Normal View History

2020-09-15 19:12:27 +08:00
import { VNode } from 'vue'
import { ElementUIComponent } from './component'
export interface CollapseItemSlots {
/** Content of the collapse item */
default: VNode[]
/** Title of the collapse item */
title: VNode[]
[key: string]: VNode[]
}
/** Collapse Item Component */
export declare class ElCollapseItem extends ElementUIComponent {
/** Unique identification of the panel */
name: string | number
/** Title of the panel */
title: string
$slots: CollapseItemSlots
/** Disable the collapse item */
disabled: boolean
}