Skip to content
Source
Sign inSign up
Open History to see the last commit

ChatGptConnectionButton.tsx

12 lines381 Bytes

1import type { ComponentProps } from "react";
2import { OpenAI } from "../Icons";
3import { Button } from "../ui/button";
4​
5export 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 );