export default function ErrorBanner({ error, onRetry }: { error: string; onRetry?: () => void }) {
  return (
    <div className="bg-red-900/30 border border-red-800 rounded-lg p-4 mb-4">
      <p className="text-red-400 text-sm">{error}</p>
      {onRetry && (
        <button onClick={onRetry} className="text-red-300 text-xs underline mt-1">
          Retry
        </button>
      )}
    </div>
  )
}
