We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3104d2d + 6cd0385 commit 0744028Copy full SHA for 0744028
1 file changed
web/dashboard/src/components/HealthBadge.tsx
@@ -0,0 +1,9 @@
1
+export type HealthStatus = 'healthy' | 'degraded' | 'down';
2
+
3
+interface HealthBadgeProps {
4
+ status: HealthStatus;
5
+}
6
7
+export default function HealthBadge({ status }: HealthBadgeProps) {
8
+ return <span data-testid="health-badge" data-status={status}>{status}</span>;
9
0 commit comments