import React from 'react' import { IconLink as Link, IconSearch as Search } from '@tabler/icons-react' import { cn } from '@/lib/utils' import { Badge } from './ui/badge' type ToolBadgeProps = { tool: string children: React.ReactNode className?: string isLoading?: boolean } export const ToolBadge: React.FC = ({ tool, children, className, isLoading = false }) => { const icon: Record = { search: , fetch: } return ( {icon[tool]} {children} ) }