Generated by Spark: getting masses of bad gateway

This commit is contained in:
2026-01-16 19:26:53 +00:00
committed by GitHub
parent 0ae5ad1951
commit 39fc59ce10
3 changed files with 170 additions and 104 deletions

View File

@@ -0,0 +1,16 @@
import { LoadingSpinner } from '@/components/atoms'
interface LoadingFallbackProps {
message?: string
}
export function LoadingFallback({ message = 'Loading...' }: LoadingFallbackProps) {
return (
<div className="flex items-center justify-center h-full w-full">
<div className="flex flex-col items-center gap-3">
<LoadingSpinner />
<p className="text-sm text-muted-foreground">{message}</p>
</div>
</div>
)
}

View File

@@ -6,6 +6,7 @@ export { EmptyEditorState } from './EmptyEditorState'
export { EmptyState } from './EmptyState'
export { FileTabs } from './FileTabs'
export { LabelWithBadge } from './LabelWithBadge'
export { LoadingFallback } from './LoadingFallback'
export { LoadingState } from './LoadingState'
export { MonacoEditorPanel } from './MonacoEditorPanel'
export { NavigationGroupHeader } from './NavigationGroupHeader'