import { Card, CardContent } from '@/components/ui/card' type Comment = { content: string author: string title: string } type Props = { items: Comment[] title: string } export default function Comments({ items, title }: Props) { return (

{title}

{items && items.map((comment, index) => (

"{comment.content}"

{comment.author}, {comment.title}

))}
) }