mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 12:18:46 +08:00
24 lines
496 B
TypeScript
24 lines
496 B
TypeScript
|
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
|
||
|
}
|