mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
27 lines
521 B
TypeScript
27 lines
521 B
TypeScript
|
import { VNode } from 'vue'
|
||
|
import { ElementUIComponent } from './component'
|
||
|
|
||
|
export interface CardSlots {
|
||
|
/** Content of the card */
|
||
|
default: VNode[]
|
||
|
|
||
|
/** Title of the card */
|
||
|
header: VNode[]
|
||
|
|
||
|
[key: string]: VNode[]
|
||
|
}
|
||
|
|
||
|
/** Integrate information in a card container */
|
||
|
export declare class ElCard extends ElementUIComponent {
|
||
|
/** Title of the card */
|
||
|
header: string
|
||
|
|
||
|
/** CSS style of body */
|
||
|
bodyStyle: Record<string, unknown>
|
||
|
|
||
|
/** When to show card shadows */
|
||
|
shadow: string
|
||
|
|
||
|
$slots: CardSlots
|
||
|
}
|