import { Typography } from "@mui/material"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; type QueryErrorPanelProps = { message?: string; onRetry?: () => void; className?: string; compact?: boolean; }; export function QueryErrorPanel({ message = "Something went wrong. Please try again.", onRetry, className, compact = false, }: QueryErrorPanelProps) { return (
{message} {onRetry && ( )}
); }