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

main
tsx 14 lines 441 Bytes
Raw
1 import { useGT } from "gt-react";
2 import type { ComponentProps } from "react";
3 import { OpenAI } from "../Icons";
4 import { Button } from "../ui/button";
5
6 export function ChatGptConnectionButton({ children, ...props }: ComponentProps<typeof Button>) {
7 const gt = useGT();
8 return (
9 <Button {...props}>
10 <OpenAI className="size-4 shrink-0" aria-hidden="true" />
11 {children ?? gt("Continue with ChatGPT")}
12 </Button>
13 );
14 }