"use client"; import { clsx } from "clsx"; interface BatchAction { label: string; onClick: () => void; variant?: "default" | "danger"; disabled?: boolean; } interface BatchActionBarProps { count: number; actions: BatchAction[]; onClear: () => void; } export function BatchActionBar({ count, actions, onClear }: BatchActionBarProps) { if (count === 0) return null; return (
{count} selected
{actions.map((action) => ( ))}
); }