MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / LoadingSpinner

Function LoadingSpinner

components/loadingspinner.tsx:4–27  ·  view source on GitHub ↗
({ classes }: { classes: string })

Source from the content-addressed store, hash-verified

2import { classNames } from "../lib/utils";
3
4export function LoadingSpinner({ classes }: { classes: string }) {
5 return (
6 <svg
7 className={classNames("animate-spin", classes)}
8 xmlns="http://www.w3.org/2000/svg"
9 fill="none"
10 viewBox="0 0 24 24"
11 >
12 <circle
13 className="opacity-25"
14 cx="12"
15 cy="12"
16 r="10"
17 stroke="currentColor"
18 strokeWidth="4"
19 />
20 <path
21 className="opacity-75"
22 fill="currentColor"
23 d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
24 />
25 </svg>
26 );
27}
28
29export function LoadingPage() {
30 return (

Callers

nothing calls this directly

Calls 1

classNamesFunction · 0.90

Tested by

no test coverage detected