forked from transitive-bullshit/nextjs-notion-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathLoadingIcon.tsx
63 lines (59 loc) · 1.54 KB
/
LoadingIcon.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import * as React from 'react'
import cs from 'classnames'
import styles from './styles.module.css'
export const LoadingIcon = (props) => {
const { className, ...rest } = props
return (
<svg
className={cs(styles.loadingIcon, className)}
{...rest}
viewBox='0 0 24 24'
>
<defs>
<linearGradient
x1='28.1542969%'
y1='63.7402344%'
x2='74.6289062%'
y2='17.7832031%'
id='linearGradient-1'
>
<stop stopColor='rgba(164, 164, 164, 1)' offset='0%' />
<stop
stopColor='rgba(164, 164, 164, 0)'
stopOpacity='0'
offset='100%'
/>
</linearGradient>
</defs>
<g id='Page-1' stroke='none' strokeWidth='1' fill='none'>
<g transform='translate(-236.000000, -286.000000)'>
<g transform='translate(238.000000, 286.000000)'>
<circle
id='Oval-2'
stroke='url(#linearGradient-1)'
strokeWidth='4'
cx='10'
cy='12'
r='10'
/>
<path
d='M10,2 C4.4771525,2 0,6.4771525 0,12'
id='Oval-2'
stroke='rgba(164, 164, 164, 1)'
strokeWidth='4'
/>
<rect
id='Rectangle-1'
fill='rgba(164, 164, 164, 1)'
x='8'
y='0'
width='4'
height='4'
rx='8'
/>
</g>
</g>
</g>
</svg>
)
}