| import { formatDistanceToNow } from "date-fns"; | |
| export function VersionTimeline({ versions }: any) { | |
| return ( | |
| <div className="space-y-4"> | |
| {versions.map((v) => ( | |
| <div key={v.version} className="border-l-2 border-neon-blue pl-4"> | |
| <div className="text-xs text-slate-400"> | |
| v{v.version} ·{" "} | |
| {formatDistanceToNow(new Date(v.created_at), { addSuffix: true })} | |
| </div> | |
| <div className="font-medium text-white">{v.author}</div> | |
| <ul className="list-disc list-inside text-sm text-slate-300"> | |
| {v.changes.map((c: string, i: number) => ( | |
| <li key={i}>{c}</li> | |
| ))} | |
| </ul> | |
| </div> | |
| ))} | |
| </div> | |
| ); | |
| } | |
Xet Storage Details
- Size:
- 733 Bytes
- Xet hash:
- 631f57c7a66ce2376d02ddddbaad8340e84b8fb283be6118fa685904f96a1b60
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.