import React from 'react'; export default function HistoryTimeline({ snapshots, selectedVersion, onSelect }) { return (

Network Modification History

Each topology change is snapshotted. Select a version to view that network state in the diagram above.

{(!snapshots || snapshots.length === 0) ? (

No snapshots yet.

) : ( snapshots.map((s) => (
onSelect(s)} > v{s.version} — {s.reason} {new Date(s.timestamp * 1000).toLocaleTimeString()}
)) )}
); }