|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Loader = React.forwardRef<SVGSVGElement, IconProps>( |
|
4
|
({ color = "currentColor", ...props }, ref) => { |
|
5
|
return ( |
|
6
|
<svg |
|
7
|
xmlns="http://www.w3.org/2000/svg" |
|
8
|
width={15} |
|
9
|
height={15} |
|
10
|
viewBox="0 0 15 15" |
|
11
|
fill="none" |
|
12
|
ref={ref} |
|
13
|
{...props} |
|
14
|
> |
|
15
|
<g |
|
16
|
stroke={color} |
|
17
|
strokeLinecap="round" |
|
18
|
strokeLinejoin="round" |
|
19
|
strokeWidth={1.5} |
|
20
|
clipPath="url(#a)" |
|
21
|
> |
|
22
|
<path d="m2.943 2.943 1.571 1.571" /> |
|
23
|
<path d="M1.055 7.5h2.223" opacity={0.88} /> |
|
24
|
<path d="m2.943 12.057 1.571-1.572" opacity={0.75} /> |
|
25
|
<path d="M7.5 13.945v-2.222" opacity={0.63} /> |
|
26
|
<path d="m12.057 12.057-1.572-1.571" opacity={0.5} /> |
|
27
|
<path d="M13.945 7.5h-2.222" opacity={0.38} /> |
|
28
|
<path d="m12.057 2.943-1.572 1.571" opacity={0.25} /> |
|
29
|
<path d="M7.5 1.055v2.222" opacity={0.13} /> |
|
30
|
</g> |
|
31
|
<defs> |
|
32
|
<clipPath id="a"> |
|
33
|
<path fill="#fff" d="M0 0h15v15H0z" /> |
|
34
|
</clipPath> |
|
35
|
</defs> |
|
36
|
</svg> |
|
37
|
) |
|
38
|
} |
|
39
|
) |
|
40
|
Loader.displayName = "Loader" |
|
41
|
export default Loader |