import { useTranslation } from 'react-i18next' import { ChevronDownGlassIcon } from '@thesvg/ui-react' import { Button } from '@/components/ui/button' import { cn } from '@/lib/utils' // Header row for one group: collapse toggle, name, count and a group bulk select. export function AppsGroupHeader({ label, count, selectedCount, collapsed, onToggle, onSelectGroup, }: { label: string count: number selectedCount: number collapsed: boolean onToggle: () => void onSelectGroup: (checked: boolean) => void }) { const { t } = useTranslation('appRows') const all = selectedCount === count return (
) }