import { ExternalLink, Newspaper } from "lucide-react"; import { NewsArticle } from "@/lib/types"; import { formatDate } from "@/lib/utils"; interface NewsPanelProps { articles?: NewsArticle[]; } export function NewsPanel({ articles }: NewsPanelProps) { return (

Related News {articles && articles.length > 0 && ( ({articles.length}) )}

{!articles || articles.length === 0 ? (

No news articles found yet.

) : ( )}
); }