mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 23:43:23 +00:00
37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
/** @jsx h */
|
|
import { h } from "https://esm.sh/preact@10.11.3";
|
|
|
|
export function CloseIcon(props: {
|
|
class?: string | h.JSX.SignalLike<string | undefined> | undefined;
|
|
style?:
|
|
| string
|
|
| h.JSX.CSSProperties
|
|
| h.JSX.SignalLike<string | h.JSX.CSSProperties>
|
|
| undefined;
|
|
}) {
|
|
return (
|
|
<svg
|
|
class={props.class}
|
|
style={props.style}
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
<g id="SVGRepo_iconCarrier">
|
|
<g id="Menu / Close_MD">
|
|
<path
|
|
id="Vector"
|
|
d="M18 18L12 12M12 12L6 6M12 12L18 6M12 12L6 18"
|
|
stroke-width="2"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
>
|
|
</path>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
);
|
|
}
|