ente_nazionale_frontend/components/associations/association-status-badge.tsx
2026-08-17 11:34:06 +03:00

17 lines
381 B
TypeScript

import { Badge } from "@/components/ui/badge";
export function AssociationStatusBadge({ isShown }: { isShown?: boolean }) {
if (isShown) {
return (
<Badge className="bg-accent text-accent-foreground hover:bg-accent">
Attiva
</Badge>
);
}
return (
<Badge variant="outline" className="text-muted-foreground">
Nascosta
</Badge>
);
}