'use client' import { Button } from '@/components/ui/button' import { Badge } from '@/components/ui/badge' import Link from 'next/link' import { Upload, Sparkles, Plus, CheckSquare, FileText } from 'lucide-react' import type { ViewMode } from './transaction-types' interface TransactionStatusBarProps { uncategorizedCount: number invoiceMatchCount: number mode: ViewMode onModeChange: (mode: ViewMode) => void onOpenSwipeView: () => void onOpenCreateDialog: () => void isLoadingSuggestions: boolean isBatchMode: boolean onToggleBatchMode: () => void } export default function TransactionStatusBar({ uncategorizedCount, invoiceMatchCount, mode, onModeChange, onOpenSwipeView, onOpenCreateDialog, isLoadingSuggestions, isBatchMode, onToggleBatchMode, }: TransactionStatusBarProps) { return (
{uncategorizedCount} att bokföra
{invoiceMatchCount > 0 && (
·
Alla dina transaktioner
)}