Skip to content

Commit

Permalink
feat: add key icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pczeglik-iohk committed Jun 26, 2024
1 parent 38143cb commit c343847
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/icons/Key.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgKey = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={32}
height={32}
fill="none"
{...props}
>
<path
stroke="url(#key_svg__a)"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
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"
/>
<defs>
<linearGradient
id="key_svg__a"
x1={-4.489}
x2={39.465}
y1={-4.489}
y2={-1.248}
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FF92E1" />
<stop offset={1} stopColor="#FDC300" />
</linearGradient>
</defs>
</svg>
);
export default SvgKey;
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export { default as HappyEmojiComponent } from './HappyEmojiComponent';
export { default as HardwareWalletComponent } from './HardwareWalletComponent';
export { default as InfoGradientComponent } from './InfoGradientComponent';
export { default as InfoComponent } from './InfoComponent';
export { default as Key } from './Key';
export { default as LaceGradientComponent } from './LaceGradientComponent';
export { default as LaceLogoComponent } from './LaceLogoComponent';
export { default as LightBulbGradientComponent } from './LightBulbGradientComponent';
Expand Down
9 changes: 9 additions & 0 deletions src/icons/raw/key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c343847

Please sign in to comment.