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