import React from 'react' import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '../ui/card' import { Button } from '../ui/button' import Link from 'next/link' import EventInfoQuickView from '../EventInfoQuickView' interface EventsProps { events: { id: string name: string date?: Date | null creator: { id: string, username: string }, venue?: { name: string } | null }[] } export default function DashboardEvents({events}: EventsProps) { return (
Your Events
{events.map((item) => ( ))}
View all
) }