import React from "react"; import { ArrowRight } from "@phosphor-icons/react"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; import { Button } from "@/components/ui/button"; interface ProfileCardProps { name: string; avatar: JSX.Element; link: string; description?: string; // Optional description field } const AgentProfileCard: React.FC = ({ name, avatar, link, description }) => { return (
{avatar}
{name}
{description && (

{description || "A Khoj agent"}

)}
); }; export default AgentProfileCard;