import { Event } from "@prisma/client" import { default as Link } from "next/link" type ListEventsProps = { data: Event[] } export function ListEvents(props: ListEventsProps) { const contents = props.data.map(e => (
  • {e.name}
  • )) return }