import type { ReactNode } from "react"; import { useAuthStrategies } from "../hooks/use-auth"; import { AuthForm } from "./AuthForm"; export type AuthScreenProps = { method?: "POST" | "GET"; action?: "login" | "register"; logo?: ReactNode; intro?: ReactNode; }; export function AuthScreen({ method = "POST", action = "login", logo, intro }: AuthScreenProps) { const { strategies, basepath, loading } = useAuthStrategies(); return (
Enter your credentials below to get access.