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

Function Spinner

src/components/ui/spinner.tsx:5–14  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"svg">)

Source from the content-addressed store, hash-verified

3import { cn } from "@/lib/utils"
4
5function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
6 return (
7 <Loader2Icon
8 role="status"
9 aria-label="Loading"
10 className={cn("size-4 animate-spin", className)}
11 {...props}
12 />
13 )
14}
15
16export { Spinner }

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected