import { Bell } from "lucide-react";

export default function NotificationButton({ count }: { count: number }) {
  return (
    <button className="relative w-8 h-8 flex items-center justify-center rounded-lg hover:bg-gray-100 text-gray-600">
      <Bell className="w-4 h-4" />
      {count > 0 && (
        <span className="absolute top-1 right-1 w-4 h-4 bg-red-500 text-white text-[9px] font-bold rounded-full flex items-center justify-center">
          {count}
        </span>
      )}
    </button>
  );
}