import Link from "next/link" import type {ArticleItem} from "@/types"; interface Props { category: string, articles: ArticleItem[] } const ArticleItemList = ({category, articles}: Props) => { return ( <>

{category}

{articles.map((article, id) => ( {article.title} ))}
) } export default ArticleItemList