forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStopLoading.tsx
38 lines (37 loc) · 1.04 KB
/
StopLoading.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { useTheme } from 'antd-style';
import { memo } from 'react';
const StopLoadingIcon = memo(() => {
const theme = useTheme();
return (
<svg
className={'anticon'}
color="currentColor"
height={16}
viewBox="0 0 1024 1024"
width={16}
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<g fill="none">
<circle cx="512" cy="512" fill="none" r="426" stroke={theme.colorBorder} strokeWidth="72" />
<rect fill="currentColor" height="252" rx="24" ry="24" width="252" x="386" y="386" />
<path
d="M938.667 512C938.667 276.359 747.64 85.333 512 85.333"
stroke="currentColor"
strokeLinecap="round"
strokeWidth="73"
>
<animateTransform
attributeName="transform"
dur="1s"
from="0 512 512"
repeatCount="indefinite"
to="360 512 512"
type="rotate"
/>
</path>
</g>
</svg>
);
});
export default StopLoadingIcon;