Props for the BatchSelectionToolbar component.

export interface BatchSelectionToolbarProps {
selectedCount: number;
onAccept: () => void;
onReject: () => void;
onReset: () => void;
onClearSelection: () => void;
progress?: { current: number; total: number } | null;
onCancel?: () => void;
isBatchBusy?: boolean;
}
interface BatchSelectionToolbarProps {
    selectedCount: number;
    onAccept: () => void;
    onReject: () => void;
    onReset: () => void;
    onClearSelection: () => void;
    progress?: null | { current: number; total: number };
    onCancel?: () => void;
    isBatchBusy?: boolean;
}

Properties

selectedCount: number

Number of currently selected matches.

onAccept: () => void

Callback to accept all selected matches.

onReject: () => void

Callback to reject all selected matches.

onReset: () => void

Callback to reset all selected matches to pending.

onClearSelection: () => void

Callback to clear current selection.

progress?: null | { current: number; total: number }

Optional progress state with current and total counts.

onCancel?: () => void

Optional callback to cancel the current batch operation.

isBatchBusy?: boolean