"use client";
/**
 * 错误消息展示
 *
 * 原始 Dart: lib/ui/auth/widgets/auth_error_message.dart
 */
import styles from "./auth-error-message.module.css";

export function AuthErrorMessage({ message }: { message: string | null }) {
  if (!message) return null;
  return (
    <div className={styles.banner} role="alert">
      {message}
    </div>
  );
}
