Skip to content

Commit

Permalink
feat: add Paste icon + update Copy icon [LW-10642]
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-wlodek authored Jul 17, 2024
2 parents c5da8ec + bdc11b8 commit a20c2a6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/icons/Copy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import type { SVGProps } from 'react';
const SvgCopy = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={18}
height={18}
fill="none"
viewBox="0 0 24 24"
{...props}
>
<path
fill="currentColor"
fillRule="evenodd"
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"
clipRule="evenodd"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M8 16H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2m-6 12h8a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2"
/>
</svg>
);
Expand Down
19 changes: 19 additions & 0 deletions src/icons/Paste.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgPaste = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
{...props}
>
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M8 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1M8 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M8 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m0 0h2a2 2 0 0 1 2 2v3m2 4H10m0 0 3-3m-3 3 3 3"
/>
</svg>
);
export default SvgPaste;
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export { default as LoadingComponent } from './LoadingComponent';
export { default as MnemonicComponent } from './MnemonicComponent';
export { default as NewspaperGradientComponent } from './NewspaperGradientComponent';
export { default as PaperwalletComponent } from './PaperwalletComponent';
export { default as Paste } from './Paste';
export { default as PencilOutlineComponent } from './PencilOutlineComponent';
export { default as PlainCircleComponent } from './PlainCircleComponent';
export { default as PlusCircleGradientComponent } from './PlusCircleGradientComponent';
Expand Down
4 changes: 2 additions & 2 deletions src/icons/raw/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/raw/paste.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 a20c2a6

Please sign in to comment.