UNPKG

521 BTypeScriptView Raw
1import { VNode, VNodeDirective } from 'vue'
2import { ElementUIComponent } from './component'
3
4export interface CardSlots {
5 /** Content of the card */
6 default: VNode[],
7
8 /** Title of the card */
9 header: VNode[]
10
11 [key: string]: VNode[]
12}
13
14/** Integrate information in a card container */
15export declare class ElCard extends ElementUIComponent {
16 /** Title of the card */
17 header: string
18
19 /** CSS style of body */
20 bodyStyle: object
21
22 /** When to show card shadows */
23 shadow: string
24
25 $slots: CardSlots
26}