Skip to content

Commit f614be8

Browse files
Merge pull request #15 from input-output-hk/feat-add-icons
Feat add icons
2 parents 3cb03d0 + c343847 commit f614be8

File tree

5 files changed

+66
-0
lines changed

5 files changed

+66
-0
lines changed

src/icons/Copy.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import * as React from 'react';
2+
import type { SVGProps } from 'react';
3+
const SvgCopy = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
width={18}
7+
height={18}
8+
fill="none"
9+
{...props}
10+
>
11+
<path
12+
fill="currentColor"
13+
fillRule="evenodd"
14+
d="M3 2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1V7a3 3 0 0 1 3-3h5V3a1 1 0 0 0-1-1zm11 2V3a3 3 0 0 0-3-3H3a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h1v1a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zM7 6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z"
15+
clipRule="evenodd"
16+
/>
17+
</svg>
18+
);
19+
export default SvgCopy;

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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export { default as ChevronUpComponent } from './ChevronUpComponent';
1515
export { default as ChipGradientComponent } from './ChipGradientComponent';
1616
export { default as CloseComponent } from './CloseComponent';
1717
export { default as CodeGradientComponent } from './CodeGradientComponent';
18+
export { default as Copy } from './Copy';
1819
export { default as DocumentDownload } from './DocumentDownload';
1920
export { default as DocumentTextGradientComponent } from './DocumentTextGradientComponent';
2021
export { default as EyeCloseComponent } from './EyeCloseComponent';
@@ -29,6 +30,7 @@ export { default as HappyEmojiComponent } from './HappyEmojiComponent';
2930
export { default as HardwareWalletComponent } from './HardwareWalletComponent';
3031
export { default as InfoGradientComponent } from './InfoGradientComponent';
3132
export { default as InfoComponent } from './InfoComponent';
33+
export { default as Key } from './Key';
3234
export { default as LaceGradientComponent } from './LaceGradientComponent';
3335
export { default as LaceLogoComponent } from './LaceLogoComponent';
3436
export { default as LightBulbGradientComponent } from './LightBulbGradientComponent';

src/icons/raw/copy.svg

Lines changed: 3 additions & 0 deletions
Loading

src/icons/raw/key.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)