console.topology/details/resource-alert

DetailsResourceAlert contributes an alert for specific topology context or graph element.

Name Value Type Optional Description

id

string

no

The ID of this alert. Used to save state if the alert should not be shown after dismissed.

contentProvider

CodeRef<(element: GraphElement) ⇒ DetailsResourceAlertContent | null>

no

Hook to return the contents of the alert.