Introduces modules/hospitality with 54 routes, BFF proxy, capability-gated nav, CRUD factory, and architecture validation docs. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
351 B
TypeScript
13 lines
351 B
TypeScript
"use client";
|
|
|
|
import { Badge } from "@/components/ds";
|
|
import { lifecycleStatusLabels, lifecycleStatusTone } from "./tokens";
|
|
|
|
export function HospitalityStatusChip({ status }: { status: string }) {
|
|
return (
|
|
<Badge tone={lifecycleStatusTone[status] ?? "default"}>
|
|
{lifecycleStatusLabels[status] ?? status}
|
|
</Badge>
|
|
);
|
|
}
|