interface SearchBarProps { value: string; onChange: (value: string) => void; placeholder?: string; } export function SearchBar({ value, onChange, placeholder = "Поиск методик..." }: SearchBarProps) { return (
onChange(e.target.value)} placeholder={placeholder} className="w-full rounded-xl border border-gray-300 bg-white py-3 pl-11 pr-4 text-sm text-gray-900 outline-none transition-colors placeholder:text-gray-400 focus:border-primary-500 focus:ring-2 focus:ring-primary-500/20 dark:border-gray-700 dark:bg-gray-900 dark:text-white dark:placeholder:text-gray-500 dark:focus:border-primary-400" />
); }