@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
tsx 14 lines 492 Bytes
Raw
1 import type { ServerUpdateState } from "@t3tools/client-runtime/state/server";
2 import { CircleAlertIcon, DownloadIcon } from "lucide-react";
3
4 // Static on purpose: the title says when an update is running, and spinners repaint every frame.
5 export function ComposerServerUpdateIcon({
6 status,
7 }: {
8 readonly status: ServerUpdateState["status"];
9 }) {
10 if (status === "failed") {
11 return <CircleAlertIcon aria-hidden className="text-error" />;
12 }
13 return <DownloadIcon aria-hidden />;
14 }