'use client' import { Button } from '@/components/ui/button' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/components/ui/select' import { DeadlineType } from '@/types' import { DEADLINE_TYPE_LABELS } from '@/lib/calendar/utils' import { X } from 'lucide-react' interface DeadlineFiltersProps { status: 'all' | 'pending' | 'completed' type: DeadlineType | 'all' onStatusChange: (status: 'all' | 'pending' | 'completed') => void onTypeChange: (type: DeadlineType | 'all') => void onReset: () => void } export function DeadlineFilters({ status, type, onStatusChange, onTypeChange, onReset, }: DeadlineFiltersProps) { const hasFilters = status !== 'all' || type !== 'all' return (