({ label = "Loading…" }: { label?: string })
| 5 | import { Button } from "@/components/ui/button"; |
| 6 | |
| 7 | export function LoadingState({ label = "Loading…" }: { label?: string }) { |
| 8 | return ( |
| 9 | <div className="flex items-center gap-2 p-8 text-sm text-muted-foreground"> |
| 10 | <Loader2 className="h-4 w-4 animate-spin" /> |
| 11 | {label} |
| 12 | </div> |
| 13 | ); |
| 14 | } |
| 15 | |
| 16 | export function TableSkeleton({ rows = 6, cols = 5 }: { rows?: number; cols?: number }) { |
| 17 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected