'use client' import Image from 'next/image' import { useState } from 'react' interface ActivityProps { activity: { title: string coverImage: string description: string date: string organizer: string } } const ActivityCard: React.FC = ({ activity }) => { const [] = useState(false) return (
{activity.title}

{activity.title}

{activity.description}

日期:{activity.date}

组织者:{activity.organizer}

) } export default ActivityCard