2023-08-08 16:41:47 +08:00
|
|
|
import { DEFAULT_COLOR } from "../../config";
|
|
|
|
|
|
2023-07-20 13:45:41 +08:00
|
|
|
export default function LoadingIcon() {
|
|
|
|
|
return (
|
|
|
|
|
<svg
|
|
|
|
|
viewBox="0 0 100 100"
|
|
|
|
|
style={{
|
|
|
|
|
maxWidth: "1.2em",
|
|
|
|
|
maxHeight: "1.2em",
|
|
|
|
|
}}
|
|
|
|
|
>
|
2023-08-08 16:41:47 +08:00
|
|
|
<circle fill={DEFAULT_COLOR} stroke="none" cx="6" cy="50" r="6">
|
2023-07-20 13:45:41 +08:00
|
|
|
<animateTransform
|
|
|
|
|
attributeName="transform"
|
|
|
|
|
dur="1s"
|
|
|
|
|
type="translate"
|
|
|
|
|
values="0 15 ; 0 -15; 0 15"
|
|
|
|
|
repeatCount="indefinite"
|
|
|
|
|
begin="0.1"
|
|
|
|
|
/>
|
|
|
|
|
</circle>
|
2023-08-08 16:41:47 +08:00
|
|
|
<circle fill={DEFAULT_COLOR} stroke="none" cx="30" cy="50" r="6">
|
2023-07-20 13:45:41 +08:00
|
|
|
<animateTransform
|
|
|
|
|
attributeName="transform"
|
|
|
|
|
dur="1s"
|
|
|
|
|
type="translate"
|
|
|
|
|
values="0 10 ; 0 -10; 0 10"
|
|
|
|
|
repeatCount="indefinite"
|
|
|
|
|
begin="0.2"
|
|
|
|
|
/>
|
|
|
|
|
</circle>
|
2023-08-08 16:41:47 +08:00
|
|
|
<circle fill={DEFAULT_COLOR} stroke="none" cx="54" cy="50" r="6">
|
2023-07-20 13:45:41 +08:00
|
|
|
<animateTransform
|
|
|
|
|
attributeName="transform"
|
|
|
|
|
dur="1s"
|
|
|
|
|
type="translate"
|
|
|
|
|
values="0 5 ; 0 -5; 0 5"
|
|
|
|
|
repeatCount="indefinite"
|
|
|
|
|
begin="0.3"
|
|
|
|
|
/>
|
|
|
|
|
</circle>
|
|
|
|
|
</svg>
|
|
|
|
|
);
|
|
|
|
|
}
|