import { Activity, CheckCircle, Database, HardDrive } from "lucide-react"; interface DatabaseSummaryProps { total: number; running: number; serverCount: number; typeCount: number; } export default function DatabaseSummary({ total, running, serverCount, typeCount, }: DatabaseSummaryProps) { const stats = [ { label: "Total DBs", value: total, color: "#3b82f6", icon: Database, }, { label: "Running", value: running, color: "#10b981", icon: CheckCircle, }, { label: "Servers Used", value: serverCount, color: "#8b5cf6", icon: HardDrive, }, { label: "DB Types", value: typeCount, color: "#f59e0b", icon: Activity, }, ]; return (
{s.value}
{s.label}