export function ErrorBanner({ message, onRetry }: { message: string; onRetry: () => void }) {
  return (
    <div className="error-banner">
      <span>{message}</span>
      <button type="button" onClick={onRetry}>
        Try again
      </button>
    </div>
  );
}
