Skip to content

Commit c343847

Browse files
committed
feat: add key icon
1 parent 38143cb commit c343847

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

src/icons/Key.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import * as React from 'react';
2+
import type { SVGProps } from 'react';
3+
const SvgKey = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
width={32}
7+
height={32}
8+
fill="none"
9+
{...props}
10+
>
11+
<path
12+
stroke="url(#key_svg__a)"
13+
strokeLinecap="round"
14+
strokeLinejoin="round"
15+
strokeWidth={2}
16+
d="M21 7.667A3.333 3.333 0 0 1 24.335 11M31 11c0 5.523-4.477 10-10 10-1.01 0-1.985-.15-2.904-.428l-3.762 3.761H11v3.334H7.667V31h-5C1.747 31 1 30.254 1 29.333v-4.31c0-.441.176-.865.489-1.178l9.94-9.94A10 10 0 0 1 11 11c0-5.523 4.477-10 10-10s10 4.477 10 10"
17+
/>
18+
<defs>
19+
<linearGradient
20+
id="key_svg__a"
21+
x1={-4.489}
22+
x2={39.465}
23+
y1={-4.489}
24+
y2={-1.248}
25+
gradientUnits="userSpaceOnUse"
26+
>
27+
<stop stopColor="#FF92E1" />
28+
<stop offset={1} stopColor="#FDC300" />
29+
</linearGradient>
30+
</defs>
31+
</svg>
32+
);
33+
export default SvgKey;

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export { default as HappyEmojiComponent } from './HappyEmojiComponent';
3030
export { default as HardwareWalletComponent } from './HardwareWalletComponent';
3131
export { default as InfoGradientComponent } from './InfoGradientComponent';
3232
export { default as InfoComponent } from './InfoComponent';
33+
export { default as Key } from './Key';
3334
export { default as LaceGradientComponent } from './LaceGradientComponent';
3435
export { default as LaceLogoComponent } from './LaceLogoComponent';
3536
export { default as LightBulbGradientComponent } from './LightBulbGradientComponent';

src/icons/raw/key.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)