// components/vendors/NotesCard.tsx import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { FileText } from 'lucide-react' interface NotesCardProps { notes?: string | null contractUrl?: string | null proposalUrl?: string | null } export function NotesCard({ notes, contractUrl, proposalUrl }: NotesCardProps) { if (!notes && !contractUrl && !proposalUrl) return null return ( Notes & Documents {notes && (

Notes

{notes}

)} {(contractUrl || proposalUrl) && (

Documents

{contractUrl && ( )} {proposalUrl && ( )}
)}
) }