'use client' import { AlertCircleIcon } from 'lucide-react' import { Alert, AlertDescription, AlertTitle } from '@/components/ui/Alert' import { Button } from '@/components/ui/button' import { DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '@/components/ui/dialog' import { Spinner } from '@/components/ui/Spinner' export const LazyDialogModuleFallback = ({ description, loadingLabel, onRetry, status, title, }: { description: string loadingLabel: string onRetry: () => void status: 'idle' | 'loading' | 'error' title: string }) => ( {title} {description} {status === 'error' ? ( <> ) : (
)}
)