import React from "react"; import { cn } from "@/lib/utils"; import { formatBytes } from "@/lib/format"; import AnimatedCircularProgressBar from "./ui/animated-circular-progress-bar"; import { CircleStackIcon } from "@heroicons/react/24/outline"; interface CycleTransferStatsClientProps { name: string; from: string; to: string; max: number; serverStats: Array<{ serverId: string; serverName: string; transfer: number; nextUpdate: string; }>; className?: string; } export const CycleTransferStatsClient: React.FC< CycleTransferStatsClientProps > = ({ name, from, to, max, serverStats, className }) => { return (
{progress.toFixed(0)}%