import { Database, HardDrive, Unplug } from "lucide-react"; import { ByteSize } from "~/components/bytes-size"; import { Card, CardContent, CardHeader, CardTitle } from "~/components/ui/card"; import type { StatFs } from "~/lib/types"; type Props = { statfs: StatFs; }; export function StorageInfoCard({ statfs }: Props) { const isEmpty = !statfs.total; if (isEmpty) { return ( Storage Usage

No storage data available. Mount the volume to see usage statistics.

); } return ( Storage Details
Total Capacity
Used Space
Free Space
); }