fix: align reporting fields queries and disk monitoring
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Search } from 'lucide-react';
|
||||
import { Button } from './Button';
|
||||
|
||||
/** Shared explicit-search actions for both portals. Editing filters never submits them. */
|
||||
export function QueryButtons({ onQuery, onReset }: { onQuery: () => void; onReset: () => void }) {
|
||||
return <div className="ui-query-buttons" style={{ display: 'flex', gap: 'var(--space-3)', alignItems: 'end' }}>
|
||||
<Button icon={<Search size={16} />} onClick={onQuery}>查询</Button>
|
||||
<Button onClick={onReset} variant="ghost">重置</Button>
|
||||
</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user