import { type Tab } from './BottomNav' import { t } from '../i18n' import { BarChart3, Home, LibraryBig, Search, Settings } from 'lucide-react' import { cx } from '../lib/utils' const ITEMS: { tab: Tab; readonly label: string; Icon: typeof Home }[] = [ { tab: 'home', get label() { return t('nav.home') }, Icon: Home }, { tab: 'catalog', get label() { return t('nav.catalog') }, Icon: LibraryBig }, { tab: 'stats', get label() { return t('nav.stats') }, Icon: BarChart3 }, { tab: 'settings', get label() { return t('nav.settings') }, Icon: Settings }, ] interface Props { current: Tab onChange: (tab: Tab) => void onAdd: () => void } export default function SideNav({ current, onChange, onAdd }: Props) { return ( ) }