TorbatYar/frontend/modules/communication/design-system/CommunicationStatusChip.tsx
Mortezakoohjani 10c3c43a75 feat(communication): add SMS MVP frontend with governance artifacts.
Ship the full Communication portal (real SMS API, feature-locked future channels), BFF proxy, docs, snapshot, and phase handover.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 11:11:25 +03:30

11 lines
365 B
TypeScript

"use client";
import { Badge } from "@/components/ds";
import { messageStatusLabels, messageStatusTone } from "./tokens";
export function CommunicationStatusChip({ status }: { status: string }) {
const label = messageStatusLabels[status] ?? status;
const tone = messageStatusTone[status] ?? "default";
return <Badge tone={tone}>{label}</Badge>;
}