blowater/app/UI/icons/download-icon.tsx

40 lines
1.4 KiB
TypeScript
Raw Normal View History

2023-11-27 13:35:01 +00:00
/** @jsx h */
import { h } from "preact";
2023-11-27 13:35:01 +00:00
export function DownloadIcon(props: {
class?: string | h.JSX.SignalLike<string | undefined> | undefined;
style?:
| string
| h.JSX.CSSProperties
| h.JSX.SignalLike<string | h.JSX.CSSProperties>
| undefined;
}) {
return (
<svg
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class={props.class}
style={props.style}
>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
<path
d="M12 7L12 14M12 14L15 11M12 14L9 11"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
</path>{" "}
<path d="M16 17H12H8" stroke-width="1.5" stroke-linecap="round"></path>{" "}
<path
d="M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12Z"
stroke-width="1.5"
>
</path>
</g>
</svg>
);
}