Files
calendar/apps/web/modules/blocklist/components/PendingReportsBadge.tsx
T
Benny JooandGitHub 29bb4fd497 refactor: remove 3 @calcom/web imports from @calcom/features by relocating blocklist UI and useEvent hook (#27775)
* migrate blocklist components to web

* migrate useEvent

* fix

* fix

* rm barrel file

* dead code
2026-02-09 08:02:42 +00:00

17 lines
374 B
TypeScript

"use client";
import { Badge } from "@calcom/ui/components/badge";
export interface PendingReportsBadgeProps {
count: number | undefined;
}
export function PendingReportsBadge({ count }: PendingReportsBadgeProps) {
if (!count) return null;
return (
<Badge variant="orange" className="ml-1 min-h-5 min-w-5 rounded-full px-1.5">
{count}
</Badge>
);
}