element-ui/types/card.d.ts

27 lines
521 B
TypeScript
Raw Normal View History

2021-06-07 11:56:04 +08:00
import { VNode, VNodeDirective } 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: object
/** When to show card shadows */
shadow: string
$slots: CardSlots
}