mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-18 09:24:15 +00:00
12 lines
286 B
TypeScript
12 lines
286 B
TypeScript
"use client";
|
|
|
|
import { Badge } from "@/components/shadcn";
|
|
|
|
export function ResourceCountCell({ count }: { count?: number }) {
|
|
return (
|
|
<Badge variant="tag" className="rounded text-sm">
|
|
<span className="font-bold">{(count ?? 0).toLocaleString()}</span>
|
|
</Badge>
|
|
);
|
|
}
|