import { Search, Loader2 } from "lucide-react"; interface SearchInputProps { onChange: (value: string) => void; placeholder?: string; value?: string; isLoading?: boolean; } export default function SearchInput({ onChange, placeholder, value, isLoading }: Readonly) { return (
onChange(e.target.value)} value={value} aria-busy={isLoading ? true : undefined} /> {isLoading && (
)}
); }