interface AuthErrorAlertProps { message: string; /** Per-field messages to list beneath the summary. */ details?: readonly string[]; } const AuthErrorAlert = ({ message, details }: AuthErrorAlertProps) => (
{message} {details?.length ? ( ) : null}
); export default AuthErrorAlert;