* migrate blocklist components to web * migrate useEvent * fix * fix * rm barrel file * dead code
17 lines
374 B
TypeScript
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>
|
|
);
|
|
}
|