import { ExternalLink, Wrench } from 'lucide-react'; import type { Tool } from '../../types'; import Badge from '../ui/Badge'; interface Props { tool: Tool; onEdit?: () => void; onDelete?: () => void; } export default function ToolCard({ tool, onEdit, onDelete }: Props) { return (
{tool.is_new && New} {tool.category}

{tool.name}

{tool.description && (

{tool.description}

)} {tool.notes && (

{tool.notes}

)}
{tool.external_url && ( Open Tool )}
{onEdit && ( )} {onDelete && ( )}
); }