'use client'; import { Search, X } from 'lucide-react'; interface Props { value: string; onChange: (v: string) => void; placeholder?: string; className?: string; } /** * 列表搜索框(标题 + 编号模糊匹配,外部需配合 useDebouncedValue 防抖) */ export function SearchInput({ value, onChange, placeholder = '搜索标题或编号', className = '' }: Props) { return (