'use client'; import { SearchLoadingAnimation } from '@/components/SearchLoadingAnimation'; import { SearchBox } from './SearchBox'; interface SearchFormProps { onSearch: (query: string) => void; onClear?: () => void; isLoading: boolean; initialQuery?: string; currentSource?: string; checkedSources?: number; totalSources?: number; placeholder?: string; } export function SearchForm({ onSearch, onClear, isLoading, initialQuery = '', currentSource = '', checkedSources = 0, totalSources = 16, placeholder, }: SearchFormProps) { return (