feat: rail items can show a status dot (Plugin-Sync#5)

This commit is contained in:
LukeGus committed 2026-10-29 12:55:10 -05:00
1 parent 8d26c716b4
commit e292462b38
2 files changed
+6

No files matched your search

+5
View File
@@ -425,6 +425,11 @@ export interface RailItemContribution {
* Zero or nothing shows no badge.
*/
useBadge?: () => number | null | undefined;
/**
* A hook for a small status dot on the icon: "ok" (green), "warning" or
* "error". Nothing shows no dot. Layouts from Termix 26.10.6 draw it.
*/
useStatus?: () => "ok" | "warning" | "error" | null | undefined;
}
export interface PanelProps {