refactor(ui): extract reusable component package

This commit is contained in:
vince 2026-06-20 05:27:09 +02:00
parent 87261b5a3f
commit 2664804e91
86 changed files with 102 additions and 85 deletions

View file

@ -1,14 +0,0 @@
import type { UiSeverity } from "../types";
export interface StatusBadgeProps {
label: string;
severity?: UiSeverity;
}
export function StatusBadge({ label, severity = "neutral" }: StatusBadgeProps) {
return (
<span className="status-badge" data-severity={severity}>
{label}
</span>
);
}