'use client'; import React from 'react'; import { Activity } from 'lucide-react'; import { Card } from '@/ui/Card'; import { SectionHeader } from '@/ui/SectionHeader'; import { ActivityItem } from '@/ui/ActivityItem'; import { Icon } from '@/ui/Icon'; import { EmptyState } from '@/ui/EmptyState'; import { Button } from '@/ui/Button'; import { Stack } from '@/ui/Stack'; interface FeedItem { id: string; headline: string; body?: string; formattedTime: string; ctaHref?: string; ctaLabel?: string; } interface ActivityFeedProps { items: FeedItem[]; hasItems: boolean; } export function ActivityFeed({ items, hasItems }: ActivityFeedProps) { return ( } /> {hasItems ? ( {items.slice(0, 5).map((item) => ( {item.ctaHref && item.ctaLabel && ( )} ))} ) : ( )} ); }