Skip to content

Commit 3ae3c3d

Browse files
authored
Merge pull request #24 from input-output-hk/feat/add-filled-key-icon
feat: add filled key icon
2 parents 40675e6 + fa3b4a7 commit 3ae3c3d

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

src/icons/KeyFilledComponent.tsx

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import * as React from 'react';
2+
import type { SVGProps } from 'react';
3+
const SvgKeyFilledcomponent = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
width={20}
7+
height={20}
8+
fill="none"
9+
{...props}
10+
>
11+
<path
12+
fill="url(#key-filled_component_svg__a)"
13+
fillRule="evenodd"
14+
d="M18 8a6 6 0 0 1-7.743 5.743L8 16H6v2H2v-4l4.257-4.257A6 6 0 1 1 18 8m-6-4a1 1 0 1 0 0 2 2 2 0 0 1 2 2 1 1 0 1 0 2 0 4 4 0 0 0-4-4"
15+
clipRule="evenodd"
16+
/>
17+
<defs>
18+
<linearGradient
19+
id="key-filled_component_svg__a"
20+
x1={-0.928}
21+
x2={22.514}
22+
y1={-0.928}
23+
y2={0.801}
24+
gradientUnits="userSpaceOnUse"
25+
>
26+
<stop stopColor="#FF92DE" />
27+
<stop offset={1} stopColor="#FDC300" />
28+
</linearGradient>
29+
</defs>
30+
</svg>
31+
);
32+
export default SvgKeyFilledcomponent;

src/icons/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export { default as HappyEmojiComponent } from './HappyEmojiComponent';
3333
export { default as HardwareWalletComponent } from './HardwareWalletComponent';
3434
export { default as InfoGradientComponent } from './InfoGradientComponent';
3535
export { default as InfoComponent } from './InfoComponent';
36+
export { default as KeyFilledComponent } from './KeyFilledComponent';
3637
export { default as Key } from './Key';
3738
export { default as LaceGradientComponent } from './LaceGradientComponent';
3839
export { default as LaceLogoComponent } from './LaceLogoComponent';
+11
Loading

0 commit comments

Comments
 (0)