import { CheckCircle2, XCircle, AlertCircle } from "lucide-react"
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
interface ServiceStatus {
name: string
status: "running" | "error" | "warning"
}
interface ServerStatusProps {
services: ServiceStatus[]
error?: string
}
export function ServerStatus({ services, error }: ServerStatusProps) {
if (error) {
return (