5 лаба

This commit is contained in:
2025-05-24 01:08:07 +04:00
parent f47194f1fc
commit 6988cf7ef6
49 changed files with 6632 additions and 5767 deletions

View File

@@ -0,0 +1,13 @@
function StatusLabel({ statusName }) {
let className = "fw-bold ";
switch ((statusName || "").toLowerCase()) {
case "вышла": className += "text-success"; break;
case "не вышла": className += "text-danger"; break;
case "не переведена": className += "text-warning"; break;
case "прочитана": className += "text-primary"; break;
default: className += "text-muted";
}
return <span className={className}>Статус: {statusName || "Неизвестен"}</span>
}
export default StatusLabel;