"use client"; import type { Table } from "@tanstack/react-table"; import { forwardRef } from "react"; import { classNames } from "@calcom/lib"; import type { IconName } from "@calcom/ui"; export type ActionItem = | { type: "action"; label: string; onClick: () => void; icon?: IconName; needsXSelected?: number; } | { type: "render"; render: (table: Table) => React.ReactNode; needsXSelected?: number; }; const Root = forwardRef< HTMLDivElement, React.HTMLAttributes & { showSelectionCount?: boolean } >(({ children, ...props }, ref) => { return (
{children}
); }); Root.displayName = "Root"; export const DataTableSelectionBar = { Root, };