Skip to content

Commit c6a13d8

Browse files
committed
wip: need to fix border & resizing
1 parent 7931097 commit c6a13d8

File tree

5 files changed

+503
-2
lines changed

5 files changed

+503
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import type { VNode, h as hType } from 'preact';
2+
3+
interface FactoryParams {
4+
h: typeof hType;
5+
}
6+
7+
export default function IconCloseFactory({
8+
h, // eslint-disable-line @typescript-eslint/no-unused-vars
9+
}: FactoryParams) {
10+
return function IconClose(): VNode {
11+
return (
12+
<svg data-test-id="icon-close" viewBox="0 0 16 16" fill="#2B2233" height="25px" width="25px">
13+
<circle r="7" cx="8" cy="8" fill="white" />
14+
<path
15+
strokeWidth="1.5"
16+
d="M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"
17+
></path>
18+
<path
19+
strokeWidth="1.5"
20+
d="M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"
21+
></path>
22+
<path
23+
strokeWidth="1.5"
24+
d="M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"
25+
></path>
26+
</svg>
27+
);
28+
};
29+
}

0 commit comments

Comments
 (0)