import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Label } from "@/components/ui/label"; import { Progress } from "@/components/ui/progress"; import Server from "@/types/server"; import { Cpu, HardDrive, MemoryStick, Network, Wifi } from "lucide-react"; function UsageBar({ value, Icon, text, color, }: { value: number; Icon: React.ElementType; text: string; color: string; }) { return (
); } export default function ServerComponent({ server }: { server: Server }) { return ( {server.name} {server.status[0].toUpperCase() + server.status.slice(1)} {" ยท "} {server.ip} ); }