card.d.ts 521 B

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