import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
import { Badge } from "../ui/badge";
import { LoaderCircle } from "lucide-react";
import { getIconForAuthorise } from "../icon-utils";
interface McpSourcesStatsProps {
sources: Array<{ name: string; slug: string; count: number }>;
activeSources?: string[];
isLoading?: boolean;
}
export function McpSourcesStats({
sources,
activeSources = [],
isLoading,
}: McpSourcesStatsProps) {
if (isLoading) {
return (
No sources found
) : (No active sources
) : (