/** * 批量操作浮动工具栏 */ import { Play, X } from 'lucide-react'; interface BatchToolbarProps { selectedCount: number; onRunBatch: () => void; onClearSelection: () => void; } export default function BatchToolbar({ selectedCount, onRunBatch, onClearSelection }: BatchToolbarProps) { if (selectedCount === 0) return null; return (