import React from 'react';
import { Loader2 } from 'lucide-react';

export default function Loading({ message = "加载中..." }) {
  return (
    <div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-slate-50 to-blue-50">
      <div className="text-center">
        <Loader2 className="w-12 h-12 animate-spin text-blue-600 mx-auto mb-4" />
        <p className="text-slate-600">{message}</p>
      </div>
    </div>
  );
} 