import type { ReactNode } from "react"; import { Search } from "lucide-react"; import { useTranslation } from "react-i18next"; /** * Compact search row shared by manager cards. Optional `extra` renders to the * right (filters, action buttons) and `count` shows a result tally. */ export function ManagerSearch({ value, onChange, placeholder, count, extra, }: { value: string; onChange: (v: string) => void; placeholder?: string; count?: number; extra?: ReactNode; }) { const { t } = useTranslation(); return (