"use client"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Clock, CheckCircle, Eye, FileText } from "lucide-react"; interface ComplianceResponseStatsProps { stats: { inProgress: number; completed: number; reviewed: number; total: number; }; onFilterChange?: (filter: 'all' | 'IN_PROGRESS' | 'COMPLETED' | 'REVIEWED') => void; currentFilter?: string; } export function ComplianceResponseStats({ stats, onFilterChange, currentFilter }: ComplianceResponseStatsProps) { return (
{/* 전체 응답 */} onFilterChange?.('all')} > 전체 응답
{stats.total}

총 {stats.total}개 응답

{/* 진행중 */} onFilterChange?.('IN_PROGRESS')} > 진행중
{stats.inProgress}

작성 중인 응답

{/* 제출완료 */} onFilterChange?.('COMPLETED')} > 제출완료
{stats.completed}

제출 완료된 응답

{/* 검토완료 */} onFilterChange?.('REVIEWED')} > 검토완료
{stats.reviewed}

검토 완료된 응답

); }