MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / Spinner

Function Spinner

ui/src/components/StateViews.tsx:9–16  ·  view source on GitHub ↗
({ size = 'md' }: SpinnerProps)

Source from the content-addressed store, hash-verified

7}
8
9export function Spinner({ size = 'md' }: SpinnerProps) {
10 const dim = size === 'sm' ? 'w-4 h-4' : 'w-6 h-6'
11 return (
12 <div
13 className={`${dim} border-2 border-accent/20 border-t-accent rounded-full animate-spin`}
14 />
15 )
16}
17
18// ==================== PageLoading ====================
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected