"use client" import { Search, X } from "lucide-react" import { Input } from "@/components/ui/input" import { Button } from "@/components/ui/button" interface SearchFilterProps { value: string onChange: (value: string) => void } export function SearchFilter({ value, onChange }: SearchFilterProps) { return (
onChange(e.target.value)} className="h-11 pl-10 pr-10" /> {value && ( )}
) }