"use client"; import * as React from "react"; import { AlertCircle } from "lucide-react"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { Button } from "@/components/ui/button"; export interface StateErrorProps { title?: string; description?: string; retryLabel?: string; onRetry?: () => void; action?: React.ReactNode; } export function StateError({ title = "Something went wrong", description = "The request could not be completed.", retryLabel = "Try again", onRetry, action, }: StateErrorProps) { return ( ); }