'use client' import type { ReactNode } from 'react' import { CircleAlert } from 'lucide-react' /** * Inline error line for the auth forms (login, register, reset). * * Auth failures render here, adjacent to the form, instead of in a toast: * a toast in the corner auto-dismisses, sits far from the locus of attention, * and is easy to miss entirely. Styled as one quiet destructive sentence with * an icon, mirroring the AttnLine pattern, never as a boxed banner: the box * reads louder than the message and breaks the panel's rhythm. role="alert" * makes screen readers announce the message when it appears. */ export function AuthFormError({ message, action, }: { message: string action?: ReactNode }) { return (

) }