import type * as React from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { cn } from "@/lib/cn"; type AuthFormCardProps = { title: string; description: string; children: React.ReactNode; className?: string; headerClassName?: string; contentClassName?: string; }; export function AuthFormCard({ title, description, children, className, headerClassName, contentClassName, }: AuthFormCardProps) { return ( {title} {description} {children} ); } export function FormError({ message }: { message?: string | null }) { if (!message) return null; return (
{message}
); }