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