import React from "react"; import { Badge } from "@/components/ui/badge"; import { cn } from "@/lib/utils"; // --------------------------------------------------------------------------- // AgentCategorySection // --------------------------------------------------------------------------- export type AgentCategorySectionProps = { title: string; description?: string; count?: number; children: React.ReactNode; className?: string; }; export function AgentCategorySection({ title, description, count, children, className, }: AgentCategorySectionProps) { return (

{title}

{count !== undefined && ( {count} )}
{description && (

{description}

)}
{children}
); }