import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; import { WifiOff, RefreshCw } from "lucide-react"; import { Button } from "@/components/ui/button"; interface OfflineStateProps { title?: string; description?: string; onRetry?: () => void; } export function OfflineState({ title = "Backend Not Connected", description = "The orchestrator API is not available. Start the backend to see live data.", onRetry, }: OfflineStateProps) { return (
{title} {description}
{onRetry && ( )}
); }