forked from ElemeFE/element
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdescriptions.d.ts
52 lines (35 loc) · 1.08 KB
/
descriptions.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import { ElementUIComponent } from './component'
import { VNode } from 'vue'
interface ElDescriptionsSlots {
/* title slot: custom title, display on the top left */
title: VNode[]
/* title slot: custom extra area, display on the top right */
extra: VNode[]
[key: string]: VNode[]
}
/** Display multiple fields in list form. **/
export declare class ElDescriptions extends ElementUIComponent {
/* with or without border */
border: boolean
/* numbers of Descriptions Item in one line */
column: number
/* direction of list */
direction: 'vertical' | 'horizontal'
/* size of list */
size: 'medium' | 'small' | 'mini'
/* title text, display on the top left */
title: string
/* extra text, display on the top right */
extra: string
/* change default props colon value of Descriptions Item */
colon: boolean
/* custom label class name */
labelClassName: string
/* custom content class name */
contentClassName: string
/* custom label style */
labelStyle: object
/* custom content style */
contentStyle: object
$slots: ElDescriptionsSlots
}