import { Check, Tag, Trash2, Bookmark } from 'lucide-react' import Tooltip from '../shared/Tooltip' import type { SidebarState } from './usePlacesSidebar' export function PlacesSelectionBar(S: SidebarState) { const { t, selectedIds, filtered, setSelectedIds, isMobile, setPendingDeleteIds, onBulkDeletePlaces, setCategoryPickerOpen, collectionsEnabled, setSaveToListOpen } = S return (
{t('places.selectionCount', { count: selectedIds.size })} 0 ? t('common.deselectAll') : t('common.selectAll')} placement="bottom"> {collectionsEnabled && ( )}
) }