'use client'; import * as React from 'react'; import { signIn } from 'next-auth/react'; import { cn } from '@/lib/utils'; import { Button, type ButtonProps } from '@/components/ui/button'; import { IconGitHub, IconSpinner } from '@/components/ui/icons'; interface LoginButtonProps extends ButtonProps { showGithubIcon?: boolean; text?: string; } export function LoginButton({ text = 'Login with GitHub', showGithubIcon = true, className, ...props }: LoginButtonProps) { const [isLoading, setIsLoading] = React.useState(false); return ( ); }