import { Tag } from "@/components/status"; export const membership: Record = { open: "Open", approval: "By approval", invite: "Invite only" }; /** A catalog's status: approved, pending, rejected or suspended. */ export function CatalogStatus({ status }: { status: string }) { if (status === "approved") return approved; if (status === "rejected" || status === "suspended") return {status}; return {status}; }