MCPcopy Create free account
hub / github.com/chronark/highstorm / Loading

Function Loading

apps/web/components/loading.tsx:3–27  ·  view source on GitHub ↗
({
  width = 24,
  height = 24,
  dur = "0.75s",
}: SVGProps<SVGElement>)

Source from the content-addressed store, hash-verified

1import React, { SVGProps } from "react";
2
3export function Loading({
4 width = 24,
5 height = 24,
6 dur = "0.75s",
7}: SVGProps<SVGElement>): JSX.Element {
8 return (
9 <svg
10 className="fill-current"
11 width={width}
12 height={height}
13 viewBox="0 0 24 24"
14 xmlns="http://www.w3.org/2000/svg"
15 >
16 <circle cx="4" cy="12" r="3">
17 <animate id="a" begin="0;b.end-0.25s" attributeName="r" dur={dur} values="3;.2;3" />
18 </circle>
19 <circle cx="12" cy="12" r="3">
20 <animate begin="a.end-0.6s" attributeName="r" dur={dur} values="3;.2;3" />
21 </circle>
22 <circle cx="20" cy="12" r="3">
23 <animate id="b" begin="a.end-0.45s" attributeName="r" dur={dur} values="3;.2;3" />
24 </circle>
25 </svg>
26 );
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected