Files
lda-wf/web/apps/console/src/presentation/PresentationTruthBadge.tsx
T

16 lines
401 B
TypeScript

import type { PresentationTargetHealth } from "./presentation-target-status.js";
export const PresentationTruthBadge = ({
status,
}: {
readonly status: PresentationTargetHealth;
}) => (
<aside
className="presentation-truth-badge"
data-status={status.kind}
aria-label="presentation evidence mode"
>
<strong>{status.label}</strong>
<span>{status.detail}</span>
</aside>
);