import React from 'react' import { Card, CardContent, CardHeader, CardTitle } from '../ui/card' import Link from 'next/link' import AddFirstGuestBookEntryClient from '../AddFirstGuestBookEntryClient' import GuestBookQuickView from '../GuestBookQuickView' interface GuestBookEntryProps { guestBookEntries: { id: string fName: string lName: string email?: string | null phone?: string | null address?: string | null notes?: string | null side: string congratulated?: boolean | null createdAt: Date }[] } export default function DashboardGuestBook(guestBookEntries: GuestBookEntryProps) { return (
Guest Book View All
{!guestBookEntries.guestBookEntries.length && } {guestBookEntries.guestBookEntries.map(entry => ( ))}
) }