MCPcopy Create free account
hub / github.com/aptabase/aptabase / Loading

Function Loading

src/webapp/components/Button.tsx:5–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { twMerge } from "tailwind-merge";
4
5const Loading = () => {
6 return (
7 <div className="flex flex-row items-center justify-center">
8 <svg
9 className="animate-spin -ml-1 mr-3 h-5 w-5 text-white"
10 xmlns="http://www.w3.org/2000/svg"
11 fill="none"
12 viewBox="0 0 24 24"
13 >
14 <circle
15 className="opacity-25"
16 cx="12"
17 cy="12"
18 r="10"
19 stroke="currentColor"
20 strokeWidth="4"
21 ></circle>
22 <path
23 className="opacity-75"
24 fill="currentColor"
25 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"
26 ></path>
27 </svg>
28 </div>
29 );
30};
31
32const variants = {
33 default: "bg-primary text-white hover:bg-primary/90",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected