import { Button } from '@/components/ui/button'; import { Github, Chrome, MessageCircle } from 'lucide-react'; interface OAuthButtonsProps { onGoogleClick?: () => void; onGithubClick?: () => void; onDiscordClick?: () => void; disabled?: boolean; } export function OAuthButtons({ onGoogleClick, onGithubClick, onDiscordClick, disabled = false, }: OAuthButtonsProps) { const handleGoogle = () => { if (onGoogleClick) { onGoogleClick(); } else { window.location.href = '/api/v1/auth/oauth/google'; } }; const handleGithub = () => { if (onGithubClick) { onGithubClick(); } else { window.location.href = '/api/v1/auth/oauth/github'; } }; const handleDiscord = () => { if (onDiscordClick) { onDiscordClick(); } else { window.location.href = '/api/v1/auth/oauth/discord'; } }; return (
Or continue with
); }