Skip to content

Commit 5557c18

Browse files
authored
Merge pull request #164 from input-output-hk/feat/update-close-icon
feat: update CloseComponent SVG to match v1
2 parents e2d264b + 5941a48 commit 5557c18

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

src/icons/CloseComponent.tsx

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
import * as React from 'react';
22
import type { SVGProps } from 'react';
33
const SvgClosecomponent = (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-
stroke="currentColor"
13-
strokeLinecap="round"
14-
strokeLinejoin="round"
15-
strokeWidth={1.5}
16-
d="m5.2 14.8 9.6-9.6m-9.6 0 9.6 9.6"
17-
/>
4+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
5+
<g clip-path="url(#clip0_4_5)">
6+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L7 5.58579L12.2929 0.292893C12.6834 -0.0976311 13.3166 -0.0976311 13.7071 0.292893C14.0976 0.683417 14.0976 1.31658 13.7071 1.70711L8.41421 7L13.7071 12.2929C14.0976 12.6834 14.0976 13.3166 13.7071 13.7071C13.3166 14.0976 12.6834 14.0976 12.2929 13.7071L7 8.41421L1.70711 13.7071C1.31658 14.0976 0.683417 14.0976 0.292893 13.7071C-0.0976311 13.3166 -0.0976311 12.6834 0.292893 12.2929L5.58579 7L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z" fill="currentColor"/>
7+
</g>
8+
<defs>
9+
<clipPath id="clip0_4_5">
10+
<rect width="14" height="14" fill="white"/>
11+
</clipPath>
12+
</defs>
1813
</svg>
1914
);
2015
export default SvgClosecomponent;

0 commit comments

Comments
 (0)