17 lines
381 B
TypeScript
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>
|
|
);
|
|
}
|