Skip to main content
Version: 6.0.0

AlertStore

Index

Properties

alertIcon

alertIcon: BlueprintIcons_16Id | MaybeElement = undefined

alertText

alertText: ReactNode = ""

alertType

alertType: AlertType = AlertType.Info

interactiveAlertText

interactiveAlertText: ReactNode = ""

isAlertVisible

isAlertVisible: boolean = false

shouldShowDashboardLink

shouldShowDashboardLink: boolean = false

Accessors

publicstaticInstance

Methods

dismissAlert

  • dismissAlert(): void
  • Returns void

handleInteractiveAlertClosed

  • handleInteractiveAlertClosed(isConfirmed: boolean): void
  • Parameters

    • isConfirmed: boolean

    Returns void

showAlert

  • showAlert(text: ReactNode, icon?: BlueprintIcons_16Id | MaybeElement, shouldShowDashboard?: boolean): void
  • Parameters

    • text: ReactNode
    • optionalicon: BlueprintIcons_16Id | MaybeElement
    • shouldShowDashboard: boolean = false

    Returns void

showInteractiveAlert

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

    • text: ReactNode
    • optionalicon: BlueprintIcons_16Id | MaybeElement
    • shouldShowDashboard: boolean = false

    Returns Promise<boolean>

showRetryAlert

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

    • text: ReactNode
    • optionalicon: BlueprintIcons_16Id | MaybeElement
    • shouldShowDashboard: boolean = false

    Returns Promise<boolean>