adk-gateway 1.0.0

Multi-channel AI gateway for adk-rust agents — Telegram, Slack, WhatsApp, Discord, Matrix + control panel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
interface Props {
  count: number;
  className?: string;
}

export default function ApprovalBadge({ count, className = '' }: Props) {
  if (count === 0) return null;

  return (
    <span
      className={`inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-bold bg-orange-500 text-white ${className}`}
      title={`${count} pending approval${count !== 1 ? 's' : ''}`}
    >
      {count}
    </span>
  );
}