import type { HistoryEvent } from "../../lib/api"; import { TimelineEventCard } from "./TimelineEventCard"; interface TimelineListProps { events: HistoryEvent[]; loading: boolean; error: string | null; selectedEvent: HistoryEvent | null; onSelectEvent: (event: HistoryEvent) => void; onRefresh: () => void; } export function TimelineList({ events, loading, error, selectedEvent, onSelectEvent, onRefresh, }: TimelineListProps) { return (