"use client"; import { Card, CardContent } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { Search } from "lucide-react"; import type { Account, Category } from "@/lib/types"; interface TransactionFiltersProps { searchQuery: string; onSearchChange: (query: string) => void; selectedAccount: string; onAccountChange: (account: string) => void; selectedCategory: string; onCategoryChange: (category: string) => void; showReconciled: string; onReconciledChange: (value: string) => void; accounts: Account[]; categories: Category[]; } export function TransactionFilters({ searchQuery, onSearchChange, selectedAccount, onAccountChange, selectedCategory, onCategoryChange, showReconciled, onReconciledChange, accounts, categories, }: TransactionFiltersProps) { return (
onSearchChange(e.target.value)} className="pl-9" />
); }