|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Github = React.forwardRef<SVGSVGElement, IconProps>( |
|
4
|
({ color = "currentColor", ...props }, ref) => { |
|
5
|
return ( |
|
6
|
<svg |
|
7
|
xmlns="http://www.w3.org/2000/svg" |
|
8
|
width={20} |
|
9
|
height={20} |
|
10
|
viewBox="0 0 20 20" |
|
11
|
fill="none" |
|
12
|
ref={ref} |
|
13
|
{...props} |
|
14
|
> |
|
15
|
<path fill="#000" d="M0 0h20v20H0z" /> |
|
16
|
<path fill="url(#a)" fillOpacity={0.6} d="M0 0h20v20H0z" /> |
|
17
|
<path |
|
18
|
fill="#fff" |
|
19
|
fillRule="evenodd" |
|
20
|
d="M10 4.148c-3.315 0-6 2.685-6 6a6 6 0 0 0 4.102 5.692c.3.053.413-.127.413-.285 0-.142-.008-.615-.008-1.117-1.507.277-1.897-.368-2.017-.705-.067-.173-.36-.705-.615-.848-.21-.112-.51-.39-.008-.397.473-.008.81.435.923.615.54.907 1.403.652 1.747.495.053-.39.21-.653.383-.803-1.335-.15-2.73-.667-2.73-2.962 0-.653.232-1.193.615-1.613-.06-.15-.27-.765.06-1.59 0 0 .502-.157 1.65.615.48-.135.99-.202 1.5-.202s1.02.067 1.5.202c1.147-.78 1.65-.615 1.65-.615.33.825.12 1.44.06 1.59.383.42.615.953.615 1.613 0 2.302-1.402 2.812-2.738 2.962.218.188.406.548.406 1.11 0 .803-.008 1.448-.008 1.65 0 .158.113.345.412.285A6.01 6.01 0 0 0 16 10.148c0-3.315-2.685-6-6-6" |
|
21
|
clipRule="evenodd" |
|
22
|
/> |
|
23
|
<defs> |
|
24
|
<linearGradient |
|
25
|
id="a" |
|
26
|
x1={20} |
|
27
|
x2={0} |
|
28
|
y1={0} |
|
29
|
y2={20} |
|
30
|
gradientUnits="userSpaceOnUse" |
|
31
|
> |
|
32
|
<stop stopColor="#48EAEB" /> |
|
33
|
<stop offset={0.505} stopColor="#5B53FF" /> |
|
34
|
<stop offset={1} stopColor="#8952FD" /> |
|
35
|
</linearGradient> |
|
36
|
</defs> |
|
37
|
</svg> |
|
38
|
) |
|
39
|
} |
|
40
|
) |
|
41
|
Github.displayName = "Github" |
|
42
|
export default Github |