Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

ConsoleAlert

Display an alert in the host console presentation.

Import

import { ConsoleAlert } from "@dartwic/interface-sdk/ui";

Declaration

export const ConsoleAlert: HostComponent<ConsoleAlertProps>;

ConsoleAlertProps

Links active ARGUS alerts for the supplied channels.

export interface ConsoleAlertProps extends HostComponentProps {
    alertTags: string[];
}
PropTypeRequirementDescription
alertTagsstring[]Required
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.