import { Calendar, Clock, Database, FolderTree, HardDrive } from "lucide-react"; import type { ListSnapshotsResponse } from "~/api-client/types.gen"; import { ByteSize } from "~/components/bytes-size"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "~/components/ui/table"; import { Tooltip, TooltipContent, TooltipTrigger } from "~/components/ui/tooltip"; import { formatSnapshotDuration } from "~/modules/repositories/tabs/snapshots"; type Snapshot = ListSnapshotsResponse["snapshots"][0]; type Props = { snapshots: Snapshot[]; }; export const SnapshotsTable = ({ snapshots }: Props) => { return (