Toast Properties

Type Parameters

  • T = HTMLElement

Hierarchy

  • IBaseProps<IToast>
    • IToastProps

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

body?: string | T
className?: string

Custom class names.

data?: any
el?: HTMLElement

The element to render the component to.

headerImgClass?: string
headerImgSrc?: string
headerText?: string
mutedText?: string
onClick?: ((el?, data?) => void)

Type declaration

    • (el?, data?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional data: any

      Returns void

onRenderBody?: ((el?, data?) => void)

Type declaration

    • (el?, data?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional data: any

      Returns void

onRenderHeader?: ((el?, data?) => void)

Type declaration

    • (el?, data?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional data: any

      Returns void

options?: IToastOptions

Generated using TypeDoc