Skip to content

Commit 38143cb

Browse files
committed
feat: add copy icon
1 parent 3cb03d0 commit 38143cb

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-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/index.ts

Lines changed: 1 addition & 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';

src/icons/raw/copy.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)