MCPcopy Create free account
hub / github.com/PostHog/duckgres / LoadingState

Function LoadingState

controlplane/admin/ui/src/components/states.tsx:7–14  ·  view source on GitHub ↗
({ label = "Loading…" }: { label?: string })

Source from the content-addressed store, hash-verified

5import { Button } from "@/components/ui/button";
6
7export 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
16export function TableSkeleton({ rows = 6, cols = 5 }: { rows?: number; cols?: number }) {
17 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected