import { useState } from 'react';
import { Sparkles } from 'lucide-react';
import type { EventLogEntry } from '../../../shared/api-types';
import { EmptyState } from '@/components/ui/empty-state';
import { ScreenTestDialog } from '@/components/stage/ScreenTestDialog';
import { EventRow } from './EventRow';
export function EventLog({ events }: { events: EventLogEntry[] }) {
const [preview, setPreview] = useState<{ title: string; subtitle: string; url: string } | null>(null);
if (events.length === 0) {
return (