Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICardProps<T>

Card Properties

Type parameters

  • T

Hierarchy

  • IBaseProps<ICard>
    • ICardProps

Index

Properties

Optional assignTo

assignTo: (obj: ICard) => void

Assigns the object to the input parameter.

Type declaration

    • Parameters

      Returns void

Optional body

body: Array<ICardBody<T>>

Optional className

className: string

Custom class names.

Optional el

el: Element | HTMLElement

The element to render the component to.

Optional footer

footer: ICardFooter<T>

Optional header

header: ICardHeader<T>

Optional imgBottom

imgBottom: { alt?: string; src?: string }

Type declaration

  • Optional alt?: string
  • Optional src?: string

Optional imgTop

imgTop: { alt?: string; src?: string }

Type declaration

  • Optional alt?: string
  • Optional src?: string

Optional onClick

onClick: (card?: ICardBody, ev?: Event) => void

Type declaration

    • Parameters

      • Optional card: ICardBody
      • Optional ev: Event

      Returns void

Generated using TypeDoc