|
1 | 1 | import React, { forwardRef } from 'react';
|
2 | 2 |
|
3 | 3 | import { StyledIcon } from '../StyledIcon';
|
| 4 | +import { generatePrefix } from '../utils'; |
4 | 5 |
|
5 |
| -const Edge = forwardRef((props, ref) => ( |
6 |
| - <StyledIcon ref={ref} viewBox="0 0 24 24" a11yTitle="Edge" {...props}> |
7 |
| - <g clipPath="url(#a)"> |
8 |
| - <path |
9 |
| - fill="url(#b)" |
10 |
| - d="M21.666 17.873c-.32.165-.65.308-.991.44a9.628 9.628 0 0 1-3.369.606c-4.437 0-8.3-3.05-8.3-6.97 0-1.102.638-2.06 1.54-2.556-4.018.166-5.042 4.35-5.042 6.795 0 6.927 6.386 7.632 7.762 7.632.737 0 1.86-.22 2.532-.43a.539.539 0 0 0 .12-.044 12.066 12.066 0 0 0 6.243-4.956c.21-.319-.154-.704-.495-.517Z" |
11 |
| - /> |
12 |
| - <path |
13 |
| - fill="url(#c)" |
14 |
| - d="M9.908 22.641a7.411 7.411 0 0 1-2.136-2.004 7.623 7.623 0 0 1-1.42-4.449 7.616 7.616 0 0 1 2.896-6.002 7.658 7.658 0 0 1 1.288-.804c.297-.143.792-.385 1.453-.374 1.1.011 1.937.573 2.41 1.211a3.02 3.02 0 0 1 .595 1.751c0-.022 2.29-7.466-7.508-7.466C3.391 4.504 0 8.414 0 11.849c0 2.17.506 3.91 1.134 5.253a12.065 12.065 0 0 0 7.21 6.343 11.88 11.88 0 0 0 3.667.573c1.32 0 2.598-.22 3.798-.617a7.14 7.14 0 0 1-2.136.33 7.2 7.2 0 0 1-3.765-1.09Z" |
15 |
| - /> |
16 |
| - <path |
17 |
| - fill="url(#d)" |
18 |
| - d="M14.279 13.964c-.077.099-.309.23-.309.528 0 .242.154.485.44.683 1.355.936 3.887.815 3.898.815 1.046 0 1.992-.297 2.84-.782.386-.22.738-.496 1.057-.793 1.101-1.046 1.773-2.522 1.795-4.163.022-2.103-.75-3.502-1.068-4.118C20.95 2.235 16.668 0 12 0 5.427 0 .088 5.286 0 11.838c.044-3.425 3.446-6.2 7.497-6.2.33 0 2.202.033 3.941.947 1.53.804 2.334 1.773 2.896 2.742.583 1.002.682 2.269.682 2.764 0 .496-.264 1.256-.737 1.873Z" |
19 |
| - /> |
20 |
| - </g> |
21 |
| - <defs> |
22 |
| - <linearGradient |
23 |
| - id="b" |
24 |
| - x1="5.501" |
25 |
| - x2="22.225" |
26 |
| - y1="16.605" |
27 |
| - y2="16.605" |
28 |
| - gradientUnits="userSpaceOnUse" |
29 |
| - > |
30 |
| - <stop stopColor="#0C59A4" /> |
31 |
| - <stop offset="1" stopColor="#114A8B" /> |
32 |
| - </linearGradient> |
33 |
| - <linearGradient |
34 |
| - id="c" |
35 |
| - x1="14.318" |
36 |
| - x2="3.868" |
37 |
| - y1="9.347" |
38 |
| - y2="20.726" |
39 |
| - gradientUnits="userSpaceOnUse" |
40 |
| - > |
41 |
| - <stop stopColor="#1B9DE2" /> |
42 |
| - <stop offset=".162" stopColor="#1595DF" /> |
43 |
| - <stop offset=".667" stopColor="#0680D7" /> |
44 |
| - <stop offset="1" stopColor="#0078D4" /> |
45 |
| - </linearGradient> |
46 |
| - <radialGradient |
47 |
| - id="d" |
48 |
| - cx="0" |
49 |
| - cy="0" |
50 |
| - r="1" |
51 |
| - gradientTransform="rotate(92.128 -.93 3.333) scale(18.9898 40.4341)" |
52 |
| - gradientUnits="userSpaceOnUse" |
53 |
| - > |
54 |
| - <stop stopColor="#35C1F1" /> |
55 |
| - <stop offset=".111" stopColor="#34C1ED" /> |
56 |
| - <stop offset=".232" stopColor="#2FC2DF" /> |
57 |
| - <stop offset=".315" stopColor="#2BC3D2" /> |
58 |
| - <stop offset=".673" stopColor="#36C752" /> |
59 |
| - <stop offset="1" stopColor="#36C752" /> |
60 |
| - </radialGradient> |
61 |
| - <clipPath id="a"> |
62 |
| - <path fill="#fff" d="M0 0h24v24H0z" /> |
63 |
| - </clipPath> |
64 |
| - </defs> |
65 |
| - </StyledIcon> |
66 |
| -)); |
| 6 | +const Edge = forwardRef((props, ref) => { |
| 7 | + const prefix = generatePrefix('Edge'); |
| 8 | + return ( |
| 9 | + <StyledIcon ref={ref} viewBox="0 0 24 24" a11yTitle="Edge" {...props}> |
| 10 | + <g clipPath={`url(#${prefix}-a)`}> |
| 11 | + <path |
| 12 | + fill={`url(#${prefix}-b)`} |
| 13 | + d="M21.666 17.873c-.32.165-.65.308-.991.44a9.628 9.628 0 0 1-3.369.606c-4.437 0-8.3-3.05-8.3-6.97 0-1.102.638-2.06 1.54-2.556-4.018.166-5.042 4.35-5.042 6.795 0 6.927 6.386 7.632 7.762 7.632.737 0 1.86-.22 2.532-.43a.539.539 0 0 0 .12-.044 12.066 12.066 0 0 0 6.243-4.956c.21-.319-.154-.704-.495-.517Z" |
| 14 | + /> |
| 15 | + <path |
| 16 | + fill={`url(#${prefix}-c)`} |
| 17 | + d="M9.908 22.641a7.411 7.411 0 0 1-2.136-2.004 7.623 7.623 0 0 1-1.42-4.449 7.616 7.616 0 0 1 2.896-6.002 7.658 7.658 0 0 1 1.288-.804c.297-.143.792-.385 1.453-.374 1.1.011 1.937.573 2.41 1.211a3.02 3.02 0 0 1 .595 1.751c0-.022 2.29-7.466-7.508-7.466C3.391 4.504 0 8.414 0 11.849c0 2.17.506 3.91 1.134 5.253a12.065 12.065 0 0 0 7.21 6.343 11.88 11.88 0 0 0 3.667.573c1.32 0 2.598-.22 3.798-.617a7.14 7.14 0 0 1-2.136.33 7.2 7.2 0 0 1-3.765-1.09Z" |
| 18 | + /> |
| 19 | + <path |
| 20 | + fill={`url(#${prefix}-d)`} |
| 21 | + d="M14.279 13.964c-.077.099-.309.23-.309.528 0 .242.154.485.44.683 1.355.936 3.887.815 3.898.815 1.046 0 1.992-.297 2.84-.782.386-.22.738-.496 1.057-.793 1.101-1.046 1.773-2.522 1.795-4.163.022-2.103-.75-3.502-1.068-4.118C20.95 2.235 16.668 0 12 0 5.427 0 .088 5.286 0 11.838c.044-3.425 3.446-6.2 7.497-6.2.33 0 2.202.033 3.941.947 1.53.804 2.334 1.773 2.896 2.742.583 1.002.682 2.269.682 2.764 0 .496-.264 1.256-.737 1.873Z" |
| 22 | + /> |
| 23 | + </g> |
| 24 | + <defs> |
| 25 | + <linearGradient |
| 26 | + id={`${prefix}-b`} |
| 27 | + x1="5.501" |
| 28 | + x2="22.225" |
| 29 | + y1="16.605" |
| 30 | + y2="16.605" |
| 31 | + gradientUnits="userSpaceOnUse" |
| 32 | + > |
| 33 | + <stop stopColor="#0C59A4" /> |
| 34 | + <stop offset="1" stopColor="#114A8B" /> |
| 35 | + </linearGradient> |
| 36 | + <linearGradient |
| 37 | + id={`${prefix}-c`} |
| 38 | + x1="14.318" |
| 39 | + x2="3.868" |
| 40 | + y1="9.347" |
| 41 | + y2="20.726" |
| 42 | + gradientUnits="userSpaceOnUse" |
| 43 | + > |
| 44 | + <stop stopColor="#1B9DE2" /> |
| 45 | + <stop offset=".162" stopColor="#1595DF" /> |
| 46 | + <stop offset=".667" stopColor="#0680D7" /> |
| 47 | + <stop offset="1" stopColor="#0078D4" /> |
| 48 | + </linearGradient> |
| 49 | + <radialGradient |
| 50 | + id={`${prefix}-d`} |
| 51 | + cx="0" |
| 52 | + cy="0" |
| 53 | + r="1" |
| 54 | + gradientTransform="rotate(92.128 -.93 3.333) scale(18.9898 40.4341)" |
| 55 | + gradientUnits="userSpaceOnUse" |
| 56 | + > |
| 57 | + <stop stopColor="#35C1F1" /> |
| 58 | + <stop offset=".111" stopColor="#34C1ED" /> |
| 59 | + <stop offset=".232" stopColor="#2FC2DF" /> |
| 60 | + <stop offset=".315" stopColor="#2BC3D2" /> |
| 61 | + <stop offset=".673" stopColor="#36C752" /> |
| 62 | + <stop offset="1" stopColor="#36C752" /> |
| 63 | + </radialGradient> |
| 64 | + <clipPath id={`${prefix}-a`}> |
| 65 | + <path fill="#fff" d="M0 0h24v24H0z" /> |
| 66 | + </clipPath> |
| 67 | + </defs> |
| 68 | + </StyledIcon> |
| 69 | + ); |
| 70 | +}); |
67 | 71 |
|
68 | 72 | Edge.displayName = 'Edge';
|
69 | 73 |
|
|
0 commit comments