MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / Spinner

Function Spinner

packages/react/src/components/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
16const IOS_SPINNER_BLADES = 12;
17

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected