MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / LoadingView

Function LoadingView

src/components/entity-components.tsx:178–191  ·  view source on GitHub ↗
({
  message,
}: StateViewProps)

Source from the content-addressed store, hash-verified

176};
177
178export const LoadingView = ({
179 message,
180}: StateViewProps) => {
181 return (
182 <div className="flex justify-center items-center h-full flex-1 flex-col gap-y-4">
183 <Loader2Icon className="size-6 animate-spin text-primary" />
184 {!!message && (
185 <p className="text-sm text-muted-foreground">
186 {message}
187 </p>
188 )}
189 </div>
190 );
191};
192
193
194export const ErrorView = ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected