10 lines
324 B
TypeScript
10 lines
324 B
TypeScript
import { SearchX } from 'lucide-react';
|
|
export function EmptySearchState({ label = '没有匹配结果' }: { label?: string }) {
|
|
return (
|
|
<div className="grid place-items-center gap-2 px-3 py-6 text-center text-xs text-text-tertiary">
|
|
<SearchX className="h-5 w-5" />
|
|
<span>{label}</span>
|
|
</div>
|
|
);
|
|
}
|