import type { ReactNode } from "react"; type OverviewSelectionChipOption = { id: string; label: ReactNode; }; export function OverviewSelectionChips({ allLabel, options, selectedIds, onSelectAll, onToggle, }: { allLabel: string; options: OverviewSelectionChipOption[]; selectedIds: string[]; onSelectAll: () => void; onToggle: (id: string) => void; }) { const isAllSelected = selectedIds.length === 0; return (
{options.map((option) => ( ))}
); }