Skip to main content
Version: 4.1.0

AlertStore

Index

Properties

alertIcon

alertIcon: IconName | MaybeElement

alertText

alertText: ReactNode

alertType

alertType: AlertType

alertVisible

alertVisible: boolean

interactiveAlertText

interactiveAlertText: ReactNode

showDashboardLink

showDashboardLink: boolean

Accessors

staticInstance

  • get Instance(): AlertStore
  • Returns AlertStore

Methods

dismissAlert

  • dismissAlert(): void
  • Returns void

handleInteractiveAlertClosed

  • handleInteractiveAlertClosed(confirmed: boolean): void
  • Parameters

    • confirmed: boolean

    Returns void

showAlert

  • showAlert(text: ReactNode, icon?: IconName | MaybeElement, showDashboard?: boolean): void
  • Parameters

    • text: ReactNode
    • optionalicon: IconName | MaybeElement
    • showDashboard: boolean = false

    Returns void

showInteractiveAlert

  • showInteractiveAlert(text: ReactNode, icon?: IconName | MaybeElement, showDashboard?: boolean): Promise<boolean>
  • Parameters

    • text: ReactNode
    • optionalicon: IconName | MaybeElement
    • showDashboard: boolean = false

    Returns Promise<boolean>

showRetryAlert

  • showRetryAlert(text: ReactNode, icon?: IconName | MaybeElement, showDashboard?: boolean): Promise<boolean>
  • Parameters

    • text: ReactNode
    • optionalicon: IconName | MaybeElement
    • showDashboard: boolean = false

    Returns Promise<boolean>