import { Panel } from '@/components/ui/panel'; import type { RecentDevelopmentsWeeklySnapshot } from '@/lib/types'; type WeeklySnapshotCardProps = { snapshot: RecentDevelopmentsWeeklySnapshot | null; }; export function WeeklySnapshotCard(props: WeeklySnapshotCardProps) { return ( {props.snapshot ? (

{props.snapshot.summary}

{props.snapshot.highlights.length > 0 ? ( ) : null}
{props.snapshot.itemCount} tracked items {props.snapshot.startDate} to {props.snapshot.endDate}
) : (

No weekly snapshot is available yet.

)}
); }