import { Check, X } from 'lucide-react' import { cn } from '../../lib/utils' import type { AttendanceChoice } from './utils' import { useTranslation } from 'react-i18next' export function AttendanceToggle({ choice, disabled, onToggle, fullName, }: { choice: AttendanceChoice disabled?: boolean onToggle: () => void fullName: string }) { const isPresent = choice === 'PRESENT' const { t } = useTranslation('classAttendance') return ( ) }