import { Users, UserRound, CheckCheck } from 'lucide-react' import type { PackingState } from './usePackingListPanel' /** * One row above the lists: whose list (Gemeinsam / Meine Liste, #858) on the * left in a tinted track, and how far the packing has come on the right as a * line of text with a slim bar. Showing packed items and the order live in the * Lists menu, so the row asks one question and answers one. */ export function PackingViewTabs(S: PackingState) { const { view, setView, t, items, abgehakt, viewTotal, fortschritt } = S const commonCount = items.filter(i => !i.is_private).length const personalCount = items.filter(i => !!i.is_private).length const viewPill = (id: 'common' | 'personal', icon: React.ReactNode, label: string, count: number) => { const active = view === id return ( ) } return (